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

21 lines
378 B

11 months ago
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-web-app-deployment
spec:
replicas: REPLICAS
11 months ago
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
11 months ago
ports:
- containerPort: 80
11 months ago