PCM/deploy/pcm-kubenative-deployment.yaml

49 lines
1.1 KiB
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: pcm-kubenative-deployment
namespace: jcce-system
labels:
k8s-app: pcm-kubenative
spec:
replicas: 1
selector:
matchLabels:
k8s-app: pcm-kubenative
template:
metadata:
name: pcm-kubenative
labels:
k8s-app: pcm-kubenative
spec:
hostAliases:
- hostnames:
- nacos.jcce.dev
ip: 10.101.15.7
imagePullSecrets:
- name: SECRET_NAME
containers:
- name: pcm-kubenative
image: IMAGE_NAME
resources: {}
imagePullPolicy: Always
securityContext:
privileged: false
procMount: Default
ports:
- containerPort: 80
volumeMounts: []
volumes: []
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600