Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docs/microk8s/mk8s/k8s-microk8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,23 @@ redis:
storageClass: "openebs-hostpath"
```

Install the DNS server for microk8s and configure the forwarding DNS servers. Replace the IP addressed below (opendns) with
the allowed values for your network:

MicroK8s comes with a preinstalled CoreDNS addon. You can check if it is installed and running with:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Microk8s (lowercase k)

```bash
microk8s kubectl get pods -n kube-system
```
If the CoreDNS pod is not listed, enable it by running the following command (replace the IP addresses with those allowed on your network):
```bash
microk8s enable dns:208.67.222.222,208.67.220.220
microk8s status --wait-ready
```
If the CoreDNS addon is already enabled and you want to change its settings, you can either disable and re-enable it:
```bash
microk8s disable dns
```
Or edit the CoreDNS configuration directly:
```bash
microk8s kubectl -n kube-system edit configmap/coredns
```

## Install Metallb

Expand Down
Loading