Alex Collins
6 years ago
committed by
Jesse Suen
4 changed files with 40 additions and 2 deletions
@ -0,0 +1,20 @@ |
|||
apiVersion: apps/v1beta2 |
|||
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.2 |
|||
name: guestbook-ui |
|||
ports: |
|||
- containerPort: 80 |
@ -0,0 +1,10 @@ |
|||
apiVersion: v1 |
|||
kind: Service |
|||
metadata: |
|||
name: guestbook-ui |
|||
spec: |
|||
ports: |
|||
- port: 80 |
|||
targetPort: 80 |
|||
selector: |
|||
app: guestbook-ui |
@ -0,0 +1,7 @@ |
|||
namePrefix: kustomize- |
|||
|
|||
resources: |
|||
- guestbook-ui-deployment.yaml |
|||
- guestbook-ui-svc.yaml |
|||
apiVersion: kustomize.config.k8s.io/v1beta1 |
|||
kind: Kustomization |
Loading…
Reference in new issue