Skip to content

Commit

Permalink
默认安装 pixiu-autoscaler 组件 (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyingjunz committed Nov 3, 2024
1 parent 33bfe04 commit bf98070
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ fluentd_chart_version: 0.3.9
###########################
# pixiu-autoscaler Options
###########################
enable_pixiu_autoscaler: "no"
enable_pixiu_autoscaler: "yes"

######################
# Artifactory Options
Expand Down
5 changes: 4 additions & 1 deletion ansible/roles/kubernetes/templates/pixiu-autoscaler.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ rules:
resources:
- horizontalpodautoscalers
- deployments
- events
- endpoints
- leases
verbs:
- get
- watch
- create
- delete
- update
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down Expand Up @@ -56,7 +60,6 @@ spec:
- image: harbor.cloud.pixiuio.com/pixiuio/pixiu-autoscaler-controller:latest
command:
- pixiu-autoscaler-controller
- --leader-elect=true
imagePullPolicy: IfNotPresent
name: pixiu-autoscaler-controller
serviceAccountName: pixiu-autoscaler
2 changes: 1 addition & 1 deletion etc/kubez/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ s3:
###########################
# pixiu-autoscaler Options
###########################
#enable_pixiu_autoscaler: "no"
#enable_pixiu_autoscaler: "yes"

################
# Istio Options
Expand Down

0 comments on commit bf98070

Please sign in to comment.