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
metadata:
name: beer-deployment
namespace: beer
spec:
selector:
matchLabels:

View file

@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: beer-ingress
namespace: beer
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
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
metadata:
name: beer
namespace: beer
spec:
selector:
app: beer