Преглед изворни кода

Merge branch 'main' of https://forgejo.reymota.es/creylopez/rancher-desktop

Celestino Rey пре 4 месеци
родитељ
комит
742d15b253
1 измењених фајлова са 15 додато и 0 уклоњено
  1. 15 0
      RANCHER_DESKTOP.md

+ 15 - 0
RANCHER_DESKTOP.md

@@ -8,6 +8,8 @@
 
 
 [Deploy a local registry](#deploy-local-registry)
 [Deploy a local registry](#deploy-local-registry)
 
 
+[Notas sobre DNS](#notas-sobre-dns)
+
 
 
 ## Install Rancher Desktop
 ## Install Rancher Desktop
 
 
@@ -211,6 +213,10 @@ This will create the provisioner as well as a storage class named ```local-path`
     hostpath               docker.io/hostpath      Delete          Immediate              false                  76m
     hostpath               docker.io/hostpath      Delete          Immediate              false                  76m
     local-path (default)   rancher.io/local-path   Delete          WaitForFirstConsumer   false                  2m50s
     local-path (default)   rancher.io/local-path   Delete          WaitForFirstConsumer   false                  2m50s
 
 
+To make ```local-path``` StorageClass the default:
+
+    kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
+
 Your PVCs either specify to use this storage class or don't specify anything and the default will be used.
 Your PVCs either specify to use this storage class or don't specify anything and the default will be used.
 
 
 Example specifying storageclass
 Example specifying storageclass
@@ -386,3 +392,12 @@ then, create a namespace, the registry and the ingress:
     kubectl create ns docker-registry
     kubectl create ns docker-registry
     kubectl create -f docker-registry.yaml -f ingress.yaml
     kubectl create -f docker-registry.yaml -f ingress.yaml
 
 
+
+## Notas sobre DNS
+
+He observado que los pods no pillan la configuración DNS del ordenador host.
+
+Buscando en internet, encontré que una solución era reiniciar el servicio ```coredns```
+
+    kubectl -n kube-system rollout restart deployment coredns
+