2017-03-14 04:32:17 +00:00
|
|
|
---
|
|
|
|
title: Federated Events
|
2018-06-22 18:20:04 +00:00
|
|
|
content_template: templates/concept
|
2017-03-14 04:32:17 +00:00
|
|
|
---
|
|
|
|
|
2018-06-22 18:20:04 +00:00
|
|
|
{{% capture overview %}}
|
|
|
|
|
2018-08-21 19:47:03 +00:00
|
|
|
{{< note >}}
|
2018-05-05 16:00:51 +00:00
|
|
|
{{< include "federation-current-state.md" >}}
|
2018-08-21 19:47:03 +00:00
|
|
|
{{< /note >}}
|
2018-04-26 19:49:29 +00:00
|
|
|
|
2017-03-14 04:32:17 +00:00
|
|
|
This guide explains how to use events in federation control plane to help in debugging.
|
|
|
|
|
2018-06-22 18:20:04 +00:00
|
|
|
{{% /capture %}}
|
2017-03-14 04:32:17 +00:00
|
|
|
|
2018-05-05 16:00:51 +00:00
|
|
|
{{< toc >}}
|
2017-03-14 04:32:17 +00:00
|
|
|
|
2018-06-22 18:20:04 +00:00
|
|
|
{{% capture body %}}
|
|
|
|
|
2017-03-14 04:32:17 +00:00
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
This guide assumes that you have a running Kubernetes Cluster
|
|
|
|
Federation installation. If not, then head over to the
|
2017-10-04 23:59:36 +00:00
|
|
|
[federation admin guide](/docs/concepts/cluster-administration/federation/) to learn how to
|
2017-03-14 04:32:17 +00:00
|
|
|
bring up a cluster federation (or have your cluster administrator do
|
|
|
|
this for you). Other tutorials, for example
|
|
|
|
[this one](https://github.com/kelseyhightower/kubernetes-cluster-federation)
|
|
|
|
by Kelsey Hightower, are also available to help you.
|
|
|
|
|
|
|
|
You are also expected to have a basic
|
2017-10-04 23:59:36 +00:00
|
|
|
[working knowledge of Kubernetes](/docs/setup/) in
|
2017-03-14 04:32:17 +00:00
|
|
|
general.
|
|
|
|
|
2018-06-22 18:20:04 +00:00
|
|
|
## View federation events
|
2017-03-14 04:32:17 +00:00
|
|
|
|
|
|
|
Events in federation control plane (referred to as "federation events" in
|
|
|
|
this guide) are very similar to the traditional Kubernetes
|
|
|
|
Events providing the same functionality.
|
|
|
|
Federation Events are stored only in federation control plane and are not passed on to the underlying Kubernetes clusters.
|
|
|
|
|
|
|
|
Federation controllers create events as they process API resources to surface to the
|
|
|
|
user, the state that they are in.
|
|
|
|
You can get all events from federation apiserver by running:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
kubectl --context=federation-cluster get events
|
|
|
|
```
|
|
|
|
|
|
|
|
The standard kubectl get, update, delete commands will all work.
|
2018-06-22 18:20:04 +00:00
|
|
|
|
|
|
|
{{% /capture %}}
|