April 2018
Intermediate to advanced
468 pages
14h 34m
English
A federated service creates a corresponding service in the federation's member clusters.
For example, to create a federated NGINX service (assuming you have the service configuration in nginx.yaml), type the following:
> kubectl --context=federation-cluster create -f nginx.yaml
You can verify a service was created in each cluster (for example, in cluster-2):
> kubectl --context=cluster-2 get services nginx NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE nginx 10.63.250.98 104.199.136.89 80/TCP 9m
All the created services in all the clusters will share the same namespace and service name, which makes sense since they are a single logical service.
The status of your federated service will automatically reflect the real-time ...
Read now
Unlock full access