You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
k8s-test/k8s/deploy.yml

20 lines
378 B

apiVersion: apps/v1
kind: Deployment
metadata:
name: my-web-app-deployment
spec:
replicas: REPLICAS
selector:
matchLabels:
app: my-web-app
template:
metadata:
labels:
app: my-web-app
spec:
containers:
- name: my-web-app
image: HARBOR_HOST/NAMESPACE_NAME/REPOSITORY_NAME:TAG
ports:
- containerPort: 80