k8s/manifests/01-deployments/hw-hw.yaml
Simple_Not 11938e6aca
All checks were successful
continuous-integration/drone/push Build is passing
labels?
2023-06-21 17:30:17 +10:00

33 lines
908 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld
namespace: vdk2ch
annotations:
description: 'my frontend running nginx'
labels:
labe1: my_test_label1
labe2: my_test_label
spec:
selector:
matchLabels:
app: helloworld
replicas: 1 # tells deployment to run 1 pods matching the template
template: # create pods using pod definition in this template
metadata:
labels:
app: helloworld
what-ever-label-i-add-here: 'test_string-asfd14123UE.asdfeee333DS'
what/here.com: '312321'
labe2: my_test_label
labe3: my_test_label3
annotations:
imageregistry: "https://hub.docker.com/"
what/here.com2: "https://github.com/"
anno: 'where it will stop??'
spec:
containers:
- name: helloworld
image: karthequian/helloworld:latest
ports:
- containerPort: 80