Last active
January 6, 2020 09:19
-
-
Save c-success/344c7c873a3c35c2febec07287d30f5f to your computer and use it in GitHub Desktop.
This file contains 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: 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