Here is a way to install a minimalist kubernetes UI - Headlamp.
A simple way of installing it is using yaml files, like this one:
kind: Service apiVersion: v1 metadata: name: headlamp namespace: kube-system spec: ports: - port: 80 targetPort: 4466 selector: k8s-app: headlamp --- kind: Deployment apiVersion: apps/v1 metadata: name: headlamp namespace: kube-system spec: replicas: 1 selector: matchLabels: k8s-app: headlamp template: metadata: labels: k8s-app: headlamp spec: containers: - name: headlamp image: ghcr....
Having installed Nginx, now it’s the time to setup the TLS for our kubernetes cluster.
First we download the certificate from our certificate authority.
Next we apply the next secret in our kubernetes cluster, updating the values with the base 64 encoded certificate and key.
apiVersion: v1 kind: Secret metadata: name: podrunner-tls namespace: kube-system type: kubernetes.io/tls data: tls.crt: <REPLACE WITH BASE64 OF THE CERTIFICATE> tls.key: <REPLACE WITH BASE64 OF THE KEY> If you need help getting the base64 of the key and certificate, run the next commands:...
If the default ingress controller (Traefik) not ok for you ?
Here are some simple instructions on how to replace it with Nginx
Uninstall traefik from an existing K3S instance sudo rm -rf /var/lib/rancher/k3s/server/manifests/traefik.yaml helm uninstall traefik traefik-crd -n kube-system sudo systemctl restart k3s Or the proper way to do so on installing k3s:
curl -sfL https://get.k3s.io | sh -s - --cluster-init --disable-traefik Install Nginx Ingress Controller helm upgrade --install ingress-nginx ingress-nginx \ --repo https://kubernetes....
Do you want a simple single server kubernetes that is easy to install?
Here is the guide for you.
Installing kubernetes First, we install k3s kuberntes using the next command:
curl -sfL https://get.k3s.io | sh -s - --cluster-init --node-external-ip <external-ip> Note: Replace external-ip with your server external IP.
This is needed in order to get the traefik ingress controller working.
Next we should copy the k3s kubernetes configuration file /etc/rancher/k3s/k3s.yaml to the default location ~/....
Let’s install SQL Server in a free Kubernetes cluster on IBM Cloud.
Kubernetes installation Installing Kubernetes on IBM Cloud is free. Simply search for Kubernetes, select the Kubernetes service or use this link), and create a free cluster in the desired resource group.
After 5-10 minutes, the cluster should be created.
To test the connection to the cluster, select the Kubernetes cluster and then click Actions > Connect via CLI. The command we are looking for is the second one....