ceph-csi/vendor/k8s.io/kubernetes/examples/oms/omsagent-daemonset.yaml

32 lines
674 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
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
type: Socket