-
Notifications
You must be signed in to change notification settings - Fork 0
DeveloperKubernetesSetup
In order to have an Executor dynamically allocate Handler pods in Kubernetes, you will need your Kubernetes secret keys, and namespace.
- A Kubernetes cluster! (minikube, etc.)
- Install kubectl
Using 'kubectl' setup a new namespace. You may need to get permission from your kubernetes administrators to perform this action.
kubectl create namespace pop
The following command will default your context so you don't have to specify each time.
kubectl config set-context $(kubectl config current-context) --namespace=pop
cd deploy/resourcepool/kubernetes/setup
kubectl create -f pop-service-account.yaml
kubectl create -f RoleBinding.yaml
Confirm everything:
kubectl get serviceaccounts/pop-service
kubectl describe RoleBinding pop-edit-service
kubectl get serviceaccounts
You should see the pop-service item
kubectl get rolebindings
You should see the pop-edit-service role binding`
Switch to your kubernetes instance and new pop context in kubernetes
<your.k8s.instance>
kubectl config use-context <your.k8s.instance>
kubectl config set-context <your.k8s.instance> --namespace=pop
Get the "secret name". Copy the result and use it as the "secret name" below.
echo kubectl get sa -n pop pop-service -o jsonpath={.secrets[0].name}
Create the cert for the "secret name"
kubectl get secret <secret name> -n pop -o jsonpath='{.data.ca\.crt}' > pop-service.ca.cert
Create the token for the "secret name". Note: On the windows/linux use -d instead of -D
kubectl get secret <secret name> -n pop -o jsonpath='{.data.token}' | base64 -D > pop-service.sa.token
- Submission
- Scheduling
-
Execution
the ResourcePool
Agenda
the workflow
Agenda Template
the workflow definition
Customer
Insight
the scheduling queue definition
Operation Progress
the state of the running Agenda operations
Progress
the state of the running Agendas
ResourcePool
the processing resources
Agenda Service
the workflow submission
Progress Service
rolled up agenda progress summary
ResourcePool Service
getting work and updating progress
AgendaReclaimer
restarting stuck Agendas
AgendaRetry
retrying failed Agendas
DataObjectReaper
reaping expired data objects
PodReaper
reaping stuck Kubernetes pods