Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created November 23, 2021 19:26
Show Gist options
  • Save jayunit100/6c03e2a52a7b797189901998ee89b13e to your computer and use it in GitHub Desktop.
Save jayunit100/6c03e2a52a7b797189901998ee89b13e to your computer and use it in GitHub Desktop.
image-builder.yaml
apiVersion: v1
kind: Namespace
metadata:
name: imagebuilder
---
apiVersion: v1
kind: Service
metadata:
name: imagebuilder-wrs
namespace: imagebuilder
spec:
selector:
app: image-builder-resource-kit
type: NodePort
ports:
- port: 3000
targetPort: 3000
nodePort: 30008
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: image-builder-resource-kit
namespace: imagebuilder
spec:
selector:
matchLabels:
app: image-builder-resource-kit
template:
metadata:
labels:
app: image-builder-resource-kit
spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- name: windows-imagebuilder-resourcekit
image: projects-stg.registry.vmware.com/tkgdev/subway-burrito:v1.21.2_vmware.1
ports:
- containerPort: 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment