Documentation for version v0.8.1 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
invalid configuration: no configuration has been providedThis typically means that no kubeconfig file can be found for the Ark client to use. Ark looks for a kubeconfig in the
following locations:
--kubeconfig flag, if any$KUBECONFIG environment variable, if any~/.kube/configNew phaseThis means that the Ark controllers are not processing the backups/restores, which usually happens because the Ark server is not running. Check the pod description and logs for errors:
kubectl -n heptio-ark describe pods
kubectl -n heptio-ark logs deployment/ark
NoCredentialProviders: no valid providers in chainThis means that the secret containing the AWS IAM user credentials for Ark has not been created/mounted properly into the Ark server pod. Ensure the following:
The cloud-credentials secret exists in the Ark server’s namespace
The cloud-credentials secret has a single key, cloud, whose value is the contents of the credentials-ark file
The credentials-ark file is formatted properly and has the correct values:
[default]
aws_access_key_id=<your AWS access key ID>
aws_secret_access_key=<your AWS secret access key>
The cloud-credentials secret is defined as a volume for the Ark deployment
The cloud-credentials secret is being mounted into the Ark server pod at /credentials
Failed to refresh the Token or adal: Refresh request failedThis means that the secrets containing the Azure service principal credentials for Ark has not been created/mounted properly into the Ark server pod. Ensure the following:
cloud-credentials secret exists in the Ark server’s namespacecloud-credentials secret has seven keys and each one has the correct value (see
setup instructions)cloud-credentials secret is defined as a volume for the Ark deploymentcloud-credentials secret is being mounted into the Ark server pod at /credentialsopen credentials/cloud: no such file or directoryThis means that the secret containing the GCE service account credentials for Ark has not been created/mounted properly into the Ark server pod. Ensure the following:
cloud-credentials secret exists in the Ark server’s namespacecloud-credentials secret has a single key, cloud, whose value is the contents of the credentials-ark filecloud-credentials secret is defined as a volume for the Ark deploymentcloud-credentials secret is being mounted into the Ark server pod at /credentialsTo help you get started, see the documentation.