...
Step 6) Setup K8S-EFS provisioner
- Download k8s-efs repository from git,
- Switch to the deploy directory
- cd external-storage/aws/efs/deploy/
- Apply rbac permissions
- Kubectl apply -f rbac.yaml
- Modify manifest.yaml. In the configmap section change the system.id: and aws.region: to match the details of the EFS you created. Change dns.name if you want to mount by your own DNS name and not by AWS's *file-system-id*.efs.*aws-region*.amazonaws.com.
...
- See following attachment for manifest.yaml,
View file | ||||
---|---|---|---|---|
|
5. Apply the manifest
kubectl apply -f manifest.yaml
6. Check PV and PVC created properly
kubectl get pv,
...
pvc (should return efs volume with aws-efs storage class)
Step 7) Setup Console/Kafka/Grafana/etc.. service types as load balancer for Helm charts
...
Console: ~/pnda/pnda-helm-chart/cloud-pnda/values.yaml
...
Kafka: ~/pnda/pnda-helm-chart/cloud-pnda/charts/kafka-manager
Grafana: ~/pnda/pnda-helm-chart/cloud-pnda/charts/grafana/values.yaml
Step 8) Add storage class as gp2 for all other pvc and aws-efs for deployment manager pvc.
...