Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: hc-ladc-daemonset
spec:
  selector:
matchLabels:
app: hc-ladc-daemonset
version: v1.0
template:
metadata:
labels:
app: hc-ladc-daemonset
version: v1.0
spec:
hostNetwork: true
containers:
- name: hc-ladc-daemonset
image: docker.io/a10networks/ladc:rel-4.1.0p2-ladc
imagePullPolicy: IfNotPresent
env:
- name: ladc_cluster_id
value: "4797s99rjb"
- name: ladc_api_svr_url
value: "https://192.67.159.195:8443/api/v2"
- name: ladc_container_node_name
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: ladc_container_pod_name
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: ladc_container_pod_namespace
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: ladc_vips_from_interfaces
value: eth0
securityContext:
privileged: true   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.