This commit is contained in:
parent
453ae87230
commit
03a194ed78
4 changed files with 11 additions and 0 deletions
|
@ -3,6 +3,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: beer-deployment
|
name: beer-deployment
|
||||||
|
namespace: beer
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: beer-ingress
|
name: beer-ingress
|
||||||
|
namespace: beer
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
spec:
|
spec:
|
||||||
|
|
8
kube/beer-namespace.yaml
Normal file
8
kube/beer-namespace.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: beer
|
||||||
|
labels:
|
||||||
|
name: beer
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: beer
|
name: beer
|
||||||
|
namespace: beer
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: beer
|
app: beer
|
||||||
|
|
Loading…
Reference in a new issue