namespaces #3

Merged
kleph merged 5 commits from namespaces into master 2020-02-22 03:20:52 +01:00
4 changed files with 11 additions and 0 deletions
Showing only changes of commit 03a194ed78 - Show all commits

View file

@ -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:

View file

@ -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
View file

@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: beer
labels:
name: beer

View file

@ -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