-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.yaml
42 lines (42 loc) · 893 Bytes
/
test.yaml
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
apiVersion: v1
kind: Pod
metadata:
labels:
run: mytest
name: mytest
# namespace: default
spec:
containers:
# args:
# - sleep
# - "3000"
- image: docker.io/nginx:latest
name: mytest
ports:
- containerPort: 80
- containerPort: 8080
- containerPort: 443
readinessProbe:
failureThreshold: 99
httpGet:
host: "::1"
path: /
port: 80
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# volumeMounts:
# - name: manual-token
# mountPath: "/var/run/secrets/kubernetes.io/serviceaccount"
# readOnly: true
dnsPolicy: Default
restartPolicy: Always
nodeName: mum.systems.richtman.au
# automountServiceAccountToken: false
# volumes:
# - name: manual-token
# projected:
# sources:
# - serviceAccountToken:
# path: "token"