File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: skypilot
33description : A Helm chart for deploying SkyPilot API server on Kubernetes
44icon : " https://raw.githubusercontent.com/skypilot-org/skypilot/master/charts/skypilot/skypilot.svg"
55type : application
6- version : 0.0.2-pre-10
6+ version : 0.0.2-pre-11
77appVersion : " 0.0"
88dependencies :
99 - name : ingress-nginx
Original file line number Diff line number Diff line change 1+ {{ if .Values.podDisruptionBudget.enabled }}
2+ apiVersion : policy/v1
3+ kind : PodDisruptionBudget
4+ metadata :
5+ name : {{ .Release.Name }}-api
6+ namespace : {{ .Release.Namespace }}
7+ spec :
8+ selector :
9+ matchLabels :
10+ app : {{ .Release.Name }}-api
11+ minAvailable : {{ .Values.podDisruptionBudget.minAvailable }}
12+ {{- end }}
Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ apiService:
44 image : berkeleyskypilot/skypilot-nightly:latest
55 # Number of replicas to deploy - replicas > 1 is not well tested.
66 replicas : 1
7+
8+ # Enable/disable PodDisruptionBudget for the API server when replicas > 1
9+ podDisruptionBudget :
10+ enabled : false
11+ minAvailable : 1
12+
713 preDeployHook : |-
814 # Run commands before deploying the API server, e.g. installing an admin policy.
915 # Refer to https://docs.skypilot.co/en/latest/cloud-setup/policy.html for more details about admin policy.
You can’t perform that action at this time.
0 commit comments