This is part 7 of a series of videos discussing vSphere with Tanzu on NSX-T where I will demonstrate how to configure and operate a vSphere with Tanzu on NSX-T. In this video we look at the creation of Services of Type ClusterIP and we’ll look at what’s being configured in NSX-T and how to discover all namespace related networking objects.
nginx-deployment.yaml
apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment namespace: alpha spec: selector: matchLabels: app: nginx replicas: 3 template: metadata: labels: app: nginx spec: containers: - name: nginx # image: nginx:latest image: 192.168.121.3/alpha/nginx:latest ports: - containerPort: 80
nginx-service.yaml
apiVersion: v1 kind: Service metadata: name: nginx-service labels: app: nginx spec: ports: # the port that this service should serve on - port: 80 targetPort: 80 protocol: TCP name: tcp-80 selector: app: nginx
- Part 1: Configure NSX-T
- Part 2: Workload Management Setup
- Part 3: Review Workload Management Setup
- Part 4: Embedded Harbor Image Registry
- Part 5: Namespaces
- Part 6: Pods & Deployments
- Part 7: Service Type ClusterIP
- Part 8: Load Balancer
- Part 9: Ingress
- Part 10: Network Policies
- Part 11: Demo Guestbook Application