{ "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "dustin-web" }, "name": "dustin-web", "namespace": "fc-tenant-dustin" }, "spec": { "progressDeadlineSeconds": 600, "replicas": 1, "revisionHistoryLimit": 10, "selector": { "matchLabels": { "app": "dustin-web" } }, "strategy": { "rollingUpdate": { "maxSurge": "25%", "maxUnavailable": "25%" }, "type": "RollingUpdate" }, "template": { "metadata": { "labels": { "app": "dustin-web" } }, "spec": { "containers": [ { "image": "nginx:alpine", "imagePullPolicy": "IfNotPresent", "livenessProbe": { "failureThreshold": 3, "httpGet": { "path": "/healthz", "port": 80, "scheme": "HTTP" }, "initialDelaySeconds": 5, "periodSeconds": 10, "successThreshold": 1, "timeoutSeconds": 1 }, "name": "nginx", "ports": [ { "containerPort": 80, "name": "http", "protocol": "TCP" } ], "readinessProbe": { "failureThreshold": 3, "httpGet": { "path": "/healthz", "port": 80, "scheme": "HTTP" }, "initialDelaySeconds": 3, "periodSeconds": 5, "successThreshold": 1, "timeoutSeconds": 1 }, "resources": { "limits": { "cpu": "50m", "memory": "64Mi" }, "requests": { "cpu": "10m", "memory": "32Mi" } }, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [ { "mountPath": "/etc/nginx/conf.d/default.conf", "name": "nginx-conf", "subPath": "default.conf" }, { "mountPath": "/usr/share/nginx/html", "name": "html" } ] } ], "dnsPolicy": "ClusterFirst", "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {}, "terminationGracePeriodSeconds": 30, "volumes": [ { "configMap": { "defaultMode": 420, "name": "dustin-web-nginx-conf" }, "name": "nginx-conf" }, { "configMap": { "defaultMode": 420, "name": "dustin-web-html" }, "name": "html" } ] } } } }