Last active
January 6, 2020 03:52
-
-
Save eshleebien/7b19ec4205c07e0b3ed68d161f067ffc to your computer and use it in GitHub Desktop.
For Inotify Minikube medium article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
namespace: default | |
name: notify-forwarder | |
spec: | |
selector: | |
app: notify-forwarder | |
ports: | |
- protocol: UDP | |
port: 29324 | |
type: LoadBalancer | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: notify-forwarder | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: notify-forwarder | |
template: | |
metadata: | |
labels: | |
app: notify-forwarder | |
spec: | |
containers: | |
- image: eshlee/notify-forwarder:latest | |
name: notify-forwarder | |
imagePullPolicy: Always | |
args: | |
- "receive" | |
volumeMounts: | |
- mountPath: /srv | |
name: srv | |
ports: | |
- containerPort: 29324 | |
volumes: | |
- hostPath: | |
path: /Users/esh/workspace # The path inside the VM you want to receive updates | |
type: "" | |
name: srv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment