Skip to content

Instantly share code, notes, and snippets.

@lamw
Last active May 17, 2023 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lamw/c9387e2e635f6e2831990e7540f3c434 to your computer and use it in GitHub Desktop.
Save lamw/c9387e2e635f6e2831990e7540f3c434 to your computer and use it in GitHub Desktop.
Deploy vSAN Object Viewer Fling into K8s Cluster OR as vSphere Pod
apiVersion: apps/v1
kind: Deployment
metadata:
name: vsan-object-viewer-fling
spec:
replicas: 1
selector:
matchLabels:
app: vsan-object-viewer-fling
template:
metadata:
labels:
app: vsan-object-viewer-fling
spec:
containers:
- name: vsan-object-viewer-fling
image: projects.registry.vmware.com/fling_vsan_objects_viewer/fling_vcmd:v1.5.7
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: vsan-object-viewer-fling
spec:
type: LoadBalancer
ports:
- port: 3000
targetPort: 80
selector:
app: vsan-object-viewer-fling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment