mirror of
https://github.com/autistic-symposium/ml-quantum-tensorflow-py.git
synced 2025-05-29 19:41:37 -04:00
26 lines
692 B
YAML
26 lines
692 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: stateful-set
|
|
spec:
|
|
replicas: 1
|
|
serviceName: service
|
|
template:
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- sh
|
|
- /var/webhook-config/create_ca.sh
|
|
image: gcr.io/kubeflow-images-public/ingress-setup:latest
|
|
name: bootstrap
|
|
volumeMounts:
|
|
- mountPath: /var/webhook-config/
|
|
name: admission-webhook-config
|
|
restartPolicy: Always
|
|
serviceAccountName: service-account
|
|
volumes:
|
|
- configMap:
|
|
name: config-map
|
|
name: admission-webhook-config
|
|
# Workaround for https://github.com/kubernetes-sigs/kustomize/issues/677
|
|
volumeClaimTemplates: []
|