Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MANOPD-82730] Kubectl exec doesn't work #313

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

alexarefev
Copy link
Collaborator

@alexarefev alexarefev commented Dec 13, 2022

Description

  • kubectl exec doesn't work on clusters deployed with KubMarine 0.10.0

Solution

  • The hot-fix solution is to revert the previous changes in defaults.yaml

How to apply

  • Manual steps for clusters that were deployed by KubMarine 0.10.0:
  1. Remove the kubelet-certificate-authority: /etc/kubernetes/pki/ca.crt string in kubeadm-config configMap
  2. Remove the - --kubelet-certificate-authority=/etc/kubernetes/pki/ca.crt string in /etc/kubernetes/manifests/kube-apiserver.yaml on each master

Test Cases

TestCase 1
The hot-fix works

Test Configuration:

  • Hardware: 4CPU/4GB
  • OS: Ubuntu 20.04
  • Inventory: AllInOne

Steps:

  1. Deploy Kubernetes cluster
  2. Run kubectl exec for any of the pods

Results:

Before After
kubectl exec doesn't work kubectl exec works

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Integration CI passed
  • Unit tests. If Yes list of new/changed tests with brief description
  • There is no merge conflicts

@alexarefev alexarefev marked this pull request as ready for review December 13, 2022 13:19
@koryaga koryaga self-assigned this Dec 13, 2022
@koryaga koryaga added the bug Something isn't working label Dec 13, 2022
@koryaga koryaga merged commit b67d6b1 into main Dec 13, 2022
@koryaga koryaga deleted the MANOPD-82730_kubectl_exec_issue branch December 13, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants