apiVersion: apps/v1 kind: Deployment metadata: name: k8s-bigip-ctlr-deployment-1 namespace: kube-system spec: # DO NOT INCREASE REPLICA COUNT replicas: 1 selector: matchLabels: app: k8s-bigip-ctlr-deployment-1 template: metadata: labels: app: k8s-bigip-ctlr-deployment-1 spec: # Name of the Service Account bound to a Cluster Role with the required # permissions containers: - name: k8s-bigip-ctlr-1 image: "f5networks/k8s-bigip-ctlr:2.9.0" env: - name: BIGIP_USERNAME valueFrom: secretKeyRef: # Replace with the name of the Secret containing your login # credentials name: bigip-login key: username - name: BIGIP_PASSWORD valueFrom: secretKeyRef: # Replace with the name of the Secret containing your login # credentials name: bigip-login key: password command: ["/app/bin/k8s-bigip-ctlr"] args: [ # See the k8s-bigip-ctlr documentation for information about # all config options # https://clouddocs.f5.com/containers/latest/ "--bigip-username=$(BIGIP_USERNAME)", "--bigip-password=$(BIGIP_PASSWORD)", "--bigip-url=10.0.0.236", "--bigip-partition=crd", "--pool-member-type=cluster", "--custom-resource-mode=true", "--log-level=DEBUG", "--log-as3-response=true", "--agent=as3", "--share-nodes=true", "--ipam=true", "--insecure" ] serviceAccount: bigip-ctlr serviceAccountName: bigip-ctlr imagePullSecrets: # Secret that gives access to a private docker registry #- name: f5-docker-images # Secret containing the BIG-IP system login credentials - name: bigip-login