Kubernetes: Up and Running by Kelsey Hightower Brendan Burns and Joe Beda

Kubernetes: Up and Running by Kelsey Hightower Brendan Burns and Joe Beda

Author:Kelsey Hightower, Brendan Burns, and Joe Beda
Language: eng
Format: mobi, epub
Publisher: O'Reilly Media, Inc.
Published: 2017-09-12T04:00:00+00:00


$ kubectl apply -f fluentd.yaml daemonset "fluentd" created

Once the fluentd DaemonSet has been successfully submitted to the Kubernetes API, you can query its current state using the kubectl describe command:

$ kubectl describe daemonset fluentd --namespace=kube-system Name: fluentd Image(s): fluent/fluentd:v0.14.10 Selector: app=fluentd Node-Selector: <none> Labels: app=fluentd Desired Number of Nodes Scheduled: 3 Current Number of Nodes Scheduled: 3 Number of Nodes Misscheduled: 0 Pods Status: 3 Running / 0 Waiting / 0 Succeeded / 0 Failed

This output indicates a fluentd Pod was successfully deployed to all three nodes in our cluster. We can verify this using the kubectl get pods command with the -o flag to print the nodes where each fluentd Pod was assigned:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.