MicroK8s

  • By Canonical Kubernetes
Channel Revision Published Runs on
latest/stable 32 24 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
latest/beta 20 28 Apr 2022
Ubuntu 22.04 Ubuntu 20.04
latest/edge 32 24 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
juju deploy microk8s
Show information

Platform:

Ubuntu
22.04 20.04
  • addons | string

    Default: dns ingress

    A space-separated list of addons that should be enabled.

  • channel | string

    Default: auto

    Snap channel to install MicroK8s from. Use 'auto' to use the channel the snap defaults to.

  • containerd_env | string

    Default: # This file is managed by Juju. Manual changes may be lost at any time. # Configure limits for locked memory and maximum number of open files ulimit -n 65536 || true ulimit -l 16384 || true # Uncomment to configure a proxy for containerd # HTTP_PROXY=http://squid.internal:3128 # HTTPS_PROXY=http://squid.internal:3128 # NO_PROXY=10.0.0.0/8,127.0.0.0/16,192.168.0.0/16

    Contents of the containerd-env file.

  • coredns_config | string

    Default: # This file is managed by Juju. Manual changes may be lost at any time. .:53 { errors health { lameduck 5s } ready log . { class error } kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure fallthrough in-addr.arpa ip6.arpa } prometheus :9153 forward . 8.8.8.8 8.8.4.4 cache 30 loop reload loadbalance }

    The CoreDNS configuration. If you're running on a restricted network, you may wish to change the forwaders.

  • csr_conf_template | string

    Default: # This file is managed by Juju. Manual changes may be lost at any time. [ req ] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C = GB ST = Canonical L = Canonical O = Canonical OU = Canonical CN = 127.0.0.1 [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster DNS.5 = kubernetes.default.svc.cluster.local IP.1 = 127.0.0.1 IP.2 = 10.152.183.1 #MOREIPS IP.unit-private-address = %UNIT_PRIVATE_ADDRESS% IP.unit-public-address = %UNIT_PUBLIC_ADDRESS% [ v3_ext ] authorityKeyIdentifier=keyid,issuer:always basicConstraints=CA:FALSE keyUsage=keyEncipherment,dataEncipherment,digitalSignature extendedKeyUsage=serverAuth,clientAuth subjectAltName=@alt_names

    Configuration for the csr.conf.template. Can be used to add IP and DNS SANs. %UNIT_PRIVATE_ADDRESS% and %UNIT_PUBLIC_ADDRESS% will be replaced by Juju to match the private and public address for each unit. If empty, then Juju will not manage the file.

  • manage_etc_hosts | boolean

    When set, add node IPs to /etc/hosts. Use this if the substrate does not provide DNS.

  • skip_verify | boolean

    When set, MicroK8s nodes will use the --skip-verify flag when joining the cluster. This is not recommended for production systems.