Introspecting Services and Endpoint Objects
Introspect Services and take a look at Endpoint objects.
We'll cover the following...
Run the following widget and use it to execute all the commands in this lesson.
apiVersion: apps/v1
kind: Deployment
metadata:
name: svc-test
spec:
replicas: 10
selector:
matchLabels:
chapter: services
template:
metadata:
labels:
chapter: services
spec:
containers:
- name: hello-ctr
image: nigelpoulton/k8sbook:1.0
ports:
- containerPort: 8080Playground
Inspecting Services
Services are ...