Files
infrastructure/clusters/cl01tl/manifests/site-profile/Deployment-site-profile.yaml

45 lines
1.2 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: site-profile
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: site-profile
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: site-profile
helm.sh/chart: site-profile-4.4.0
namespace: site-profile
spec:
revisionHistoryLimit: 3
replicas: 3
strategy:
type: RollingUpdate
selector:
matchLabels:
app.kubernetes.io/controller: main
app.kubernetes.io/name: site-profile
app.kubernetes.io/instance: site-profile
template:
metadata:
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: site-profile
app.kubernetes.io/name: site-profile
spec:
enableServiceLinks: false
serviceAccountName: default
automountServiceAccountToken: true
hostIPC: false
hostNetwork: false
hostPID: false
dnsPolicy: ClusterFirst
containers:
- image: harbor.alexlebens.net/images/site-profile:2.1.1
imagePullPolicy: IfNotPresent
name: main
resources:
requests:
cpu: 10m
memory: 128Mi