add: ["NET_ADMIN"]
command:
- /bin/rundnsmasq
+ livenessProbe:
+ exec:
+ command: ["sh", "-c", "ss -lun | grep :67 && ss -lun | grep :69"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
+ readinessProbe:
+ exec:
+ command: ["sh", "-c", "ss -lun | grep :67 && ss -lun | grep :69"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
volumeMounts:
- mountPath: /shared
name: ironic-data-volume
- configMapRef:
name: ironic-bmo-configmap
- name: mariadb
- image: quay.io/metal3-io/ironic
+ image: quay.io/metal3-io/mariadb
imagePullPolicy: Always
- command:
- - /bin/runmariadb
+ livenessProbe:
+ exec:
+ command: ["sh", "-c", "mysqladmin status -uironic -p$(printenv MARIADB_PASSWORD)"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
+ readinessProbe:
+ exec:
+ command: ["sh", "-c", "mysqladmin status -uironic -p$(printenv MARIADB_PASSWORD)"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
volumeMounts:
- mountPath: /shared
name: ironic-data-volume
imagePullPolicy: Always
command:
- /bin/runironic-api
+ livenessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sSf http://127.0.0.1:6385 || curl -sSfk https://127.0.0.1:6385"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
+ readinessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sSf http://127.0.0.1:6385 || curl -sSfk https://127.0.0.1:6385"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
volumeMounts:
- mountPath: /shared
name: ironic-data-volume
imagePullPolicy: Always
command:
- /bin/runironic-conductor
+ readinessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sd '{}' -o – -k https://127.0.0.1:8089 || curl -sd '{}' -o – http://127.0.0.1:8089"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
+ livenessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sd '{}' -o – -k https://127.0.0.1:8089 || curl -sd '{}' -o – http://127.0.0.1:8089"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
volumeMounts:
- mountPath: /shared
name: ironic-data-volume
- name: ironic-inspector
image: quay.io/metal3-io/ironic
imagePullPolicy: Always
+ readinessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sSf http://127.0.0.1:5050 || curl -sSf -k https://127.0.0.1:5050"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
+ livenessProbe:
+ exec:
+ command: ["sh", "-c", "curl -sSf http://127.0.0.1:5050 || curl -sSf -k https://127.0.0.1:5050"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 10
command:
- /bin/runironic-inspector
envFrom: