diff options
Diffstat (limited to 'containers/rocky-ssh-deployment.yaml')
| -rw-r--r-- | containers/rocky-ssh-deployment.yaml | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/containers/rocky-ssh-deployment.yaml b/containers/rocky-ssh-deployment.yaml deleted file mode 100644 index bb6c37f..0000000 --- a/containers/rocky-ssh-deployment.yaml +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | apiVersion: apps/v1 | ||
| 2 | kind: StatefulSet | ||
| 3 | metadata: | ||
| 4 | name: rocky-dev | ||
| 5 | labels: | ||
| 6 | app: rocky-dev | ||
| 7 | spec: | ||
| 8 | serviceName: rocky-dev-svc | ||
| 9 | replicas: 2 | ||
| 10 | selector: | ||
| 11 | matchLabels: | ||
| 12 | app: rocky-dev | ||
| 13 | template: | ||
| 14 | metadata: | ||
| 15 | labels: | ||
| 16 | app: rocky-dev | ||
| 17 | spec: | ||
| 18 | containers: | ||
| 19 | - name: rocky-dev | ||
| 20 | image: rocky_dev:latest | ||
| 21 | imagePullPolicy: IfNotPresent # Use local image | ||
| 22 | ports: | ||
| 23 | - containerPort: 22 | ||
| 24 | name: ssh | ||
| 25 | securityContext: | ||
| 26 | privileged: true | ||
| 27 | livenessProbe: | ||
| 28 | tcpSocket: | ||
| 29 | port: 22 | ||
| 30 | initialDelaySeconds: 30 | ||
| 31 | periodSeconds: 30 | ||
| 32 | readinessProbe: | ||
| 33 | tcpSocket: | ||
| 34 | port: 22 | ||
| 35 | initialDelaySeconds: 5 | ||
| 36 | periodSeconds: 10 | ||
| 37 | --- | ||
| 38 | apiVersion: v1 | ||
| 39 | kind: Service | ||
| 40 | metadata: | ||
| 41 | name: rocky-dev-svc | ||
| 42 | spec: | ||
| 43 | clusterIP: None | ||
| 44 | selector: | ||
| 45 | app: rocky-dev | ||
| 46 | ports: | ||
| 47 | - port: 22 | ||
| 48 | targetPort: 22 | ||
