I installed Wordpress via the catalog (Helm) and everything was great until I redeployed the image that came with the catalog (bitnami/wordpress:4.9.8-debian-9). My database is connected to AWS RDS, but everything else was wiped when the image came back up. My wp-config, media folder, plugins, etc.
I need to mount a volume so my WordPress pod/container doesn’t wipe content I need to persist.
Guide setting up Cloud Providers:
I have been following this guide to setup persistent volumes for my WordPress pod/container. I am using AWS and my node template has the permissions to spin up new clusters.
- I have edited my preexisting cluster (Production) and enabled Amazon under Cloud Provider.
- This is the IAM I use for my node template:
- I believe I have configuring the clusterID correctly. I followed the instructions from the article above.
**Key** = `kubernetes.io/cluster/CLUSTERID
**Value** = `owned
No matter what I do I receive this error:
[workerPlane] Failed to bring up Worker Plane: Failed to verify healthcheck: Failed to check https://localhost:10250/healthz for service [kubelet] on host [22.214.171.124]: Get https://localhost:10250/healthz: dial tcp 127.0.0.1:10250: connect: connection refused, log: F0327 00:37:29.816642 9424 server.go:262] failed to run Kubelet: could not init cloud provider "aws": error finding instance i-0735413c75d62c753: "error listing AWS instances: \"NoCredentialProviders: no valid providers in chain. Deprecated.\\n\\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors\""
The errors go away when I disable cloud providers, but I’m so lost at this point and could really use help. If anyone has any suggestions it would be a lot. Thanks!