Megha Mehta
4 years ago
4 changed files with 0 additions and 58 deletions
@ -1,20 +0,0 @@ |
|||||
apiVersion: apps/v1 |
|
||||
kind: Deployment |
|
||||
metadata: |
|
||||
name: guestbook-ui |
|
||||
spec: |
|
||||
replicas: 1 |
|
||||
revisionHistoryLimit: 3 |
|
||||
selector: |
|
||||
matchLabels: |
|
||||
app: guestbook-ui |
|
||||
template: |
|
||||
metadata: |
|
||||
labels: |
|
||||
app: guestbook-ui |
|
||||
spec: |
|
||||
containers: |
|
||||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 |
|
||||
name: guestbook-ui |
|
||||
ports: |
|
||||
- containerPort: 80 |
|
@ -1,10 +0,0 @@ |
|||||
apiVersion: v1 |
|
||||
kind: Service |
|
||||
metadata: |
|
||||
name: guestbook-ui |
|
||||
spec: |
|
||||
ports: |
|
||||
- port: 80 |
|
||||
targetPort: 80 |
|
||||
selector: |
|
||||
app: guestbook-ui |
|
@ -1,20 +0,0 @@ |
|||||
apiVersion: extensions/v1beta1 |
|
||||
kind: Ingress |
|
||||
metadata: |
|
||||
name: kustomize-guestbook-ingress |
|
||||
namespace: guestbook |
|
||||
labels: |
|
||||
app.kubernetes.io/component: server |
|
||||
app.kubernetes.io/name: guestbook-server |
|
||||
app.kubernetes.io/part-of: guestbook |
|
||||
annotations: |
|
||||
kubernetes.io/ingress.class: traefik |
|
||||
spec: |
|
||||
rules: |
|
||||
- host: kustomize-guestbook-argocd.natwest-labs.com |
|
||||
http: |
|
||||
paths: |
|
||||
- backend: |
|
||||
serviceName: guestbook-ui |
|
||||
servicePort: 80 |
|
||||
path: / |
|
@ -1,8 +0,0 @@ |
|||||
namePrefix: kustomize- |
|
||||
|
|
||||
resources: |
|
||||
- guestbook-ui-deployment.yaml |
|
||||
- guestbook-ui-svc.yaml |
|
||||
- ingress.yaml |
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1 |
|
||||
kind: Kustomization |
|
Loading…
Reference in new issue