Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: ladc-daemonset
spec:
selector:
matchLabels:
app: ladc-daemonset
version: v1.0
template:
metadata:
labels:
app: ladc-daemonset
version: v1.0
spec:
hostNetwork: true
containers:
- name: ladc-daemonset
image: docker.io/a10networks/ladc:rel-4.2.0-p2-ladc
imagePullPolicy: IfNotPresent
env:
- name: ladc_cluster_id
value: "<name of LADC cluster ID"
- name: ladc_api_svr_url
value: "<API server URL>"
- 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"
- name: ladc_transparent_rule_mark
value: "0x400000"
- name: ladc_tproxy_mark
value: "0x800000"
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.