This commit is contained in:
nutzer26
2022-12-16 15:02:11 +01:00
parent da34f65b61
commit d4d9760fc8

View File

@@ -676,7 +676,7 @@ kubectl apply -f app
Options define a node port services Options define a node port services
cat ~/carpool/app/node-service.yaml <<EOF cat >node-service.yaml <<EOF
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
@@ -696,6 +696,7 @@ spec:
status: status:
loadBalancer: {} loadBalancer: {}
EOF EOF
kubectl get nodes -o wide kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
k3d-cnbc-agent-0 Ready worker 30h v1.22.7+k3s1 172.18.0.4 <none> K3s dev 5.4.0-109-generic containerd://1.5.9-k3s1 k3d-cnbc-agent-0 Ready worker 30h v1.22.7+k3s1 172.18.0.4 <none> K3s dev 5.4.0-109-generic containerd://1.5.9-k3s1