Skip to content

Packer + MicroK8s + EC2 #4109

@juliusoh

Description

@juliusoh

Summary

I install Microk8s on packer

Via:

`

Install MicroK8s

sudo snap install microk8s --classic
sudo usermod -a -G microk8s ubuntu
sudo chown -f -R ubuntu ~/.kube
sudo -E microk8s status --wait-ready
sudo -E microk8s kubectl get nodes
sudo -E microk8s kubectl get services
sudo -E microk8s reset
`

I deploy new EC2 running this AMI

What Should Happen Instead?

I run microk8s kubectl get nodes

I see two nodes

I try to run microk8s reset and get
This is a multi-node MicroK8s deployment. Reset is applicable for single node clusters. Please remove all joined nodes before calling reset.

Reproduction Steps

  1. ...
  2. ...

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions