mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 15:37:19 +00:00
35 lines
809 B
YAML
35 lines
809 B
YAML
kind: "Deployment"
|
|
apiVersion: "apps/v1"
|
|
metadata:
|
|
name: "ghost"
|
|
labels:
|
|
nirmata.io/deployment.name: "ghost"
|
|
nirmata.io/application.name: "ghost"
|
|
nirmata.io/component: "ghost"
|
|
cli: test
|
|
spec:
|
|
replicas: 1
|
|
revisionHistoryLimit: 5
|
|
selector:
|
|
matchLabels:
|
|
nirmata.io/application.name: "ghost"
|
|
nirmata.io/component: "ghost"
|
|
strategy:
|
|
type: "RollingUpdate"
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
template:
|
|
metadata:
|
|
labels:
|
|
nirmata.io/deployment.name: "ghost"
|
|
nirmata.io/application.name: "ghost"
|
|
nirmata.io/component: "ghost"
|
|
spec:
|
|
containers:
|
|
- name: "ghost"
|
|
image: "nginx:latest"
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: "TCP"
|