This commit is contained in:
80
kube/dev/web-deployment.yaml
Normal file
80
kube/dev/web-deployment.yaml
Normal file
@@ -0,0 +1,80 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: marktaguiad-dev-dev
|
||||
name: marktaguiad-dev-dev
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: marktaguiad-dev-dev
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: marktaguiad-dev-dev
|
||||
spec:
|
||||
# affinity:
|
||||
# nodeAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
# - key: kubernetes.io/arch
|
||||
# operator: In
|
||||
# values:
|
||||
# - "amd64"
|
||||
# preferredDuringSchedulingIgnoredDuringExecution:
|
||||
# - weight: 10
|
||||
# preference:
|
||||
# matchExpressions:
|
||||
# - key: kubernetes.io/role
|
||||
# operator: In
|
||||
# values:
|
||||
# - 'worker'
|
||||
# - weight: 10
|
||||
# preference:
|
||||
# matchExpressions:
|
||||
# - key: node-role.kubernetes.io/master
|
||||
# operator: In
|
||||
# values:
|
||||
# - 'true'
|
||||
# - weight: 10
|
||||
# preference:
|
||||
# matchExpressions:
|
||||
# - key: core
|
||||
# operator: In
|
||||
# values:
|
||||
# - "4"
|
||||
# - weight: 5
|
||||
# preference:
|
||||
# matchExpressions:
|
||||
# - key: core
|
||||
# operator: In
|
||||
# values:
|
||||
# - "3"
|
||||
# - weight: 5
|
||||
# preference:
|
||||
# matchExpressions:
|
||||
# - key: disk
|
||||
# operator: In
|
||||
# values:
|
||||
# - "ssd"
|
||||
imagePullSecrets:
|
||||
- name: ghcr.io
|
||||
containers:
|
||||
- image: ghcr.io/mcbtaguiad/marktaguiad.dev:dev
|
||||
name: marktaguiad-dev-dev
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
# volumeMounts:
|
||||
# - name: static
|
||||
# subPath: static
|
||||
# mountPath: /usr/local/apache2/htdocs/static
|
||||
# volumes:
|
||||
# - name: static
|
||||
# persistentVolumeClaim:
|
||||
# claimName: ``eb-tagsdev-pvc
|
||||
restartPolicy: Always
|
||||
Reference in New Issue
Block a user