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

feat: Add kubeconfig setup for MicroK8s and K3s #575

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

szeyan543
Copy link
Contributor

Description

This PR adds commands to set up kubeconfig for both MicroK8s and K3s. These changes include:

For MicroK8s, after enabling necessary modules and checking the status, adding commands to configure kubeconfig.
For K3s, after defining the registry endpoint, adding commands to set up kubeconfig by copying the K3s config file

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Setting up a K3s cluster and applying the kubeconfig setup commands to ensure they work as expected.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings
  • I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

…mage registry configuration

Signed-off-by: Sze Yan <89469273+szeyan543@users.noreply.github.com>
@szeyan543
Copy link
Contributor Author

@joewxboy

@joewxboy joewxboy merged commit 680c707 into open-horizon:master Jul 24, 2024
4 checks passed
@joewxboy joewxboy linked an issue Jul 24, 2024 that may be closed by this pull request
@joewxboy
Copy link
Member

Fixed, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation📄: Configuring k3s and microk8s
2 participants