43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: site-documentation
|
|
labels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/instance: site-documentation
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: site-documentation
|
|
helm.sh/chart: site-documentation-4.6.2
|
|
namespace: site-documentation
|
|
spec:
|
|
revisionHistoryLimit: 3
|
|
replicas: 3
|
|
strategy:
|
|
type: RollingUpdate
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/name: site-documentation
|
|
app.kubernetes.io/instance: site-documentation
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/instance: site-documentation
|
|
app.kubernetes.io/name: site-documentation
|
|
spec:
|
|
enableServiceLinks: false
|
|
serviceAccountName: default
|
|
automountServiceAccountToken: true
|
|
hostIPC: false
|
|
hostNetwork: false
|
|
hostPID: false
|
|
dnsPolicy: ClusterFirst
|
|
containers:
|
|
- image: harbor.alexlebens.net/images/site-documentation:0.27.1@sha256:a9e8659827375e7ee65ea8bc8550f4c0604316b48f39da7fa255fa9f3b5a17d6
|
|
name: main
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 40Mi
|