Saya mencoba melakukan deployment manifest 8b di AWS EKS dan mendapati ERROR berikut:
$ kubectl apply -f bab-08b-database-persistent-volume-claim.yaml
persistentvolumeclaim/database-persistent-volume-claim created
$ kubectl describe persistentvolumeclaim database-persistent-volume-claim
Name: database-persistent-volume-claim
Namespace: default
StorageClass:
Status: Pending
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal FailedBinding 19s (x3 over 48s) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
Sementara, untuk deployment di GCP GKE, tidak ada masalah.
$ kubectl apply -f bab-08b-database-persistent-volume-claim.yaml
persistentvolumeclaim/database-persistent-volume-claim created
$ kubectl apply -f bab-08c-postgres-kudemo-deployment.yaml
deployment.apps/postgres-kudemo-deployment created
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
postgres-kudemo-deployment-67f6d984dd-mr2sw 1/1 Running 0 88s
Halo,
Saya mencoba melakukan deployment manifest 8b di AWS EKS dan mendapati ERROR berikut:
Sementara, untuk deployment di GCP GKE, tidak ada masalah.