Lab 4: Service – NodePort

Kubernetes (K8s)
This entry is part 5 of 6 in the series Học Kubernetes

B1: Tạo file yaml với nội dung sau đây

NodePort này sẽ link với pod có label app là myapp

B2: Tạo service với nội dung yaml trên

B3: Kiểm tra service đã tạo

B4: Kiểm tra deployment bài trước đã tạo có label là app: myapp

B5: Thử truy cập từ bên ngoài vào IP node-worker xem có được không

Series Navigation<< Lab 3: DeploymentLab 5: Project WordPress và Mysql >>

Leave a Reply

Your email address will not be published. Required fields are marked *