When we are creating SCs on the cloud and you run commands in this section such as "kubectl apply -f sc.yml" is that run inside an EC2 instance that has kubernetes tools installed? Or are you using the EKS service? – do you happen to have any suggested resources for getting started with EKS?
I don’t have resources for EKS, but I have some comments re StorageClasses on AWS.
Firstly, the sc.yml file is in the courses GH repo at https://github.com/ACloudGuru-Resources/Kubernetes_Deep_Dive_NP/blob/master/lesson-storage/sc.yml << I’m pretty sure you already know that.
Second, you’re using
kubectl to POST the YAML to the Kubernetes API server. This passes the configuration to the relevant components wthin the control plane to implement the configuration. The control plane runs a set of cloud-related controllers managed by the
cloud-controller-manager which has the smarts to talk to native services in the underlying cloud platform. If you’re provisioning from AWS using something like the
provisioner: kubernetes.io/aws-ebs provisioner, Kubernetes will talk to AWS and dynamically provision the EBS volume for you.