Skip to content

docker apiserver doesn't come back up if container restartedΒ #9713

@ajrpayne

Description

@ajrpayne

What happened:

While testing eksa in docker for fun, I restarted the container containing the apiserver.

"command failed" err="open /etc/kubernetes/pki/apiserver.crt: no such file or directory"

/etc/kubernetes/pki/apiserver.crt and /etc/kubernetes/pki/apiserver.key are now missing.

What you expected to happen:

apiserver to come back up.

How to reproduce it (as minimally and precisely as possible):

docker stop mgmt-server && docker start mgmt-server

Anything else we need to know?:

Just don't understand where the apiserver certs are going. I get the docker deploy is for testing but odd I can't get the apiserver back.

Environment:

  • EKS Anywhere Release:

eksctl anywhere version
Version: v0.22.4
Release Manifest URL: https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml
Bundle Manifest URL: https://anywhere-assets.eks.amazonaws.com/releases/bundles/97/manifest.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions