This repo holds all required stuff to run an Enterprise Application Access Connector wihtin kubernetes.
Fully automated setup a "long lived" EAA Conenctor (statefulSet) within k8s
- The EAA-k8s-connector requires a DinD container which needs to run with the "privileged" attribute
- Persistent Volumes (that can be bound to any of your worker nodes)
- A working .edgerc file prepared for EAA {OPEN}API
- Kubernetes API access (+ kubectl) to create secrets and deployments/statefulsets
Variable | Default | Description |
---|---|---|
EDGERC_SECTION | default | The EdgeRC Section to use |
continue reading here
-
Create a namespace for the connector
kubectl create namespace <your_namespace>
-
Upload your .edgerc file to k8s
Ensure that the credentials are specifically (only) set for EAA.kubectl create secret generic akamai-edgerc -n <your_namespace> --from-file=edgerc=/home/username/.edgerc
-
Deploy your workload to k8s
The following command will start one EAA connector (name=podname)kubectl apply -n <your_namespace> -f examples/StatefulSet.yml
- "privilegted" flag required for the DinD (Docker in Docker) container
- EAA .edgerc file needs to be provided as secret
- Connector name = pod name