User Tools

Site Tools


система_kubernetes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
система_kubernetes [2022/07/15 12:23]
val [Настройка доступа к своему репозиторию]
система_kubernetes [2022/07/20 17:01]
val [Service]
Line 137: Line 137:
 </​code><​code>​ </​code><​code>​
 root@node2:​~#​ systemctl restart containerd root@node2:​~#​ systemctl restart containerd
 +
 +root@node2:​~#​ containerd config dump
 </​code>​ </​code>​
  
Line 259: Line 261:
   - protocol: TCP   - protocol: TCP
     port: 80     port: 80
-    ​targetPort: 80 +#    nodePort: 30111 
-status: +#    ​targetPort: 80 
-  loadBalancer:​ {}+#status: 
 + ​loadBalancer:​ {}
 </​code><​code>​ </​code><​code>​
 $ kubectl apply -f my-webd-service.yaml $ kubectl apply -f my-webd-service.yaml
Line 268: Line 271:
 NAME              TYPE       ​CLUSTER-IP ​      ​EXTERNAL-IP ​  ​PORT(S) ​       AGE NAME              TYPE       ​CLUSTER-IP ​      ​EXTERNAL-IP ​  ​PORT(S) ​       AGE
 my-webd-svc ​  ​NodePort ​  ​10.102.135.146 ​  <​none> ​       80:​30350/​TCP ​  18h my-webd-svc ​  ​NodePort ​  ​10.102.135.146 ​  <​none> ​       80:​30350/​TCP ​  18h
 +
 +$ kubectl describe svc my-webd -n my-ns
  
 student@node3:​~$ minikube service my-webd -n my-ns --url student@node3:​~$ minikube service my-webd -n my-ns --url
Line 308: Line 313:
  
 $ kubectl get ingress -n my-ns $ kubectl get ingress -n my-ns
 +Напиши,​ что тут?
  
 root@gate.corp13.un:​~#​ host webd root@gate.corp13.un:​~#​ host webd
система_kubernetes.txt · Last modified: 2024/06/01 11:09 by val