mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 15:59:45 +00:00
Rename a thing, add a thing
This commit is contained in:
parent
189b88a936
commit
cf5d206cef
2 changed files with 21 additions and 0 deletions
21
workloads/nginx.yml
Normal file
21
workloads/nginx.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.7.9
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
Loading…
Add table
Reference in a new issue