-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
202 lines (177 loc) · 4.57 KB
/
Copy pathvalues.yaml
File metadata and controls
202 lines (177 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# -- Number of replicas to run
replicaCount: 1
# -- Image configuration
image:
repository: mcr.microsoft.com/devcontainers/python
tag: "3.12"
pullPolicy: IfNotPresent
# -- Name overrides for Kubernetes resources
nameOverride: ""
fullnameOverride: ""
# -- ServiceAccount configuration
serviceAccount:
create: true
name: ""
annotations: {}
# -- IAM role ARN for AWS EKS IRSA, if applicable
# eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/my-role
# -- PVC-backed workspace storage
storage:
size: 5Gi
accessMode: ReadWriteOnce
# -- Uncomment and set if a specific StorageClass is required (e.g., "gp3", "ebs-sc")
# storageClassName: ""
# -- Resource requests and limits
resources:
limits:
cpu: "2"
memory: 2Gi
requests:
cpu: "500m"
memory: 512Mi
# -- Number of old ReplicaSets to retain for rollback
revisionHistoryLimit: 3
# -- Pod-level security context
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
seccompProfile:
type: RuntimeDefault
# -- Additional Linux capabilities to add or drop
# capabilities:
# drop:
# - ALL
# -- Container-level security context
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: false
# -- Service configuration for accessing the development environment
service:
enabled: true
type: ClusterIP
port: 80
targetPort: 8080
annotations: {}
# -- If using headless service for StatefulSet-like behavior
# clusterIP: None
# -- Ingress configuration (disabled by default)
ingress:
enabled: false
className: ""
annotations:
# -- Common ingress annotations for Talos/Traefik
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: python-dev.home
paths:
- path: /
pathType: Prefix
tls:
- secretName: python-dev-tls
hosts:
- python-dev.home
# -- Probes configuration
# These defaults are tuned for a long-running dev container.
# Since the container runs `tail -f /dev/null` (no dynamic service),
# probes are purely for liveness detection with minimal overhead.
probes:
liveness:
enabled: true
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
readiness:
enabled: false
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
startup:
enabled: false
initialDelaySeconds: 0
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 10
successThreshold: 1
# -- Environment variables to inject into the container
env:
- name: TZ
value: "Etc/UTC"
# - name: PIP_INDEX_URL
# value: "https://pypi.org/simple/"
# - name: PATH
# value: "/usr/local/bin:/usr/local/sbin:/usr/local:/usr/bin:/bin"
# -- Additional environment variables from secrets or configmaps
envFrom: []
# - secretRef:
# name: python-dev-secrets
# - configMapRef:
# name: python-dev-config
# -- Additional volumes to mount (e.g., Docker socket, secrets)
extraVolumes: []
# - name: docker-socket
# hostPath:
# path: /var/run/docker.sock
# type: Socket
# -- Additional volume mounts
extraVolumeMounts: []
# - name: docker-socket
# mountPath: /var/run/docker.sock
# -- Pod-level labels to add
podLabels: {}
# -- Pod-level annotations
podAnnotations: {}
# -- Node selector for scheduling
nodeSelector: {}
# -- Pod tolerations
tolerations: []
# -- Pod affinity rules
affinity: {}
# -- Topology spread constraints
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: python-dev-environment
# -- NetworkPolicy configuration (disabled by default)
networkPolicy:
enabled: false
ingressRules: []
# - from:
# - namespaceSelector:
# matchLabels:
# kubernetes.io/metadata.name: monitoring
# - podSelector:
# matchLabels:
# app.kubernetes.io/name: prometheus
# ports:
# - port: 9090
# protocol: TCP
egressRules: []
# - to:
# - ipBlock:
# cidr: 10.0.0.0/8
# ports:
# - port: 443
# protocol: TCP
# -- Priority class name for the pod
priorityClassName: ""
# -- Termination grace period (seconds)
terminationGracePeriodSeconds: 30
# -- PodDisruptionBudget configuration (disabled by default)
podDisruptionBudget:
enabled: false
minAvailable: 1
# maxUnavailable: 1