Skip to content

Instantly share code, notes, and snippets.

@OguzPastirmaci
Created December 15, 2016 22:28
Show Gist options
  • Save OguzPastirmaci/bba85a47c7c5fb71dc6e6f2acdd13249 to your computer and use it in GitHub Desktop.
Save OguzPastirmaci/bba85a47c7c5fb71dc6e6f2acdd13249 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: omsagent
spec:
template:
metadata:
labels:
app: omsagent
spec:
containers:
- env:
- name: WSID
value: <your workspace ID>
- name: KEY
value: <your key>
image: microsoft/oms
name: omsagent
ports:
- containerPort: 25225
protocol: TCP
securityContext:
privileged: true
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-sock
volumes:
- name: docker-sock
hostPath:
path: /var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment