Skip to content

Instantly share code, notes, and snippets.

@devpilot
Last active May 21, 2025 19:13
Show Gist options
  • Select an option

  • Save devpilot/8aa07990102d2c7348b297cc7dbd7085 to your computer and use it in GitHub Desktop.

Select an option

Save devpilot/8aa07990102d2c7348b297cc7dbd7085 to your computer and use it in GitHub Desktop.
deploy fluid doc
apiVersion: v1
kind: Namespace
metadata:
name: fluid-doc
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: fluid-doc-nginx
namespace: fluid-doc
spec:
replicas: 1
selector:
matchLabels:
app: fluid-doc-nginx
template:
metadata:
labels:
app: fluid-doc-nginx
spec:
containers:
- name: nginx
image: coredgeio/fluid-doc:latest
imagePullPolicy: Never
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: fluid-doc-nginx-service
namespace: fluid-doc
spec:
type: NodePort
selector:
app: fluid-doc-nginx
ports:
- port: 80
targetPort: 80
nodePort: 31180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment