mirror of
https://github.com/KevinMidboe/traefik-etcd-advertiser.git
synced 2026-01-25 10:55:29 +00:00
adds kubernetes conversion
This commit is contained in:
21
assets/deployment.yml
Normal file
21
assets/deployment.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
||||
Reference in New Issue
Block a user