1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubectl alpha events - Experimental: List events
10
11
12
14 kubectl alpha events [OPTIONS]
15
16
17
19 Experimental: Display events
20
21
22 Prints a table of the most important information about events. You can
23 request events for a namespace, for all namespace, or filtered to only
24 those pertaining to a specified resource.
25
26
27
29 -A, --all-namespaces=false If present, list the requested ob‐
30 ject(s) across all namespaces. Namespace in current context is ignored
31 even if specified with --namespace.
32
33
34 --chunk-size=500 Return large lists in chunks rather than all at
35 once. Pass 0 to disable. This flag is beta and may change in the fu‐
36 ture.
37
38
39 --for="" Filter events to only those pertaining to the specified
40 resource.
41
42
43 -w, --watch=false After listing the requested events, watch for
44 more events.
45
46
47
49 --as="" Username to impersonate for the operation. User could be a
50 regular user or a service account in a namespace.
51
52
53 --as-group=[] Group to impersonate for the operation, this flag
54 can be repeated to specify multiple groups.
55
56
57 --as-uid="" UID to impersonate for the operation.
58
59
60 --azure-container-registry-config="" Path to the file containing
61 Azure container registry configuration information.
62
63
64 --cache-dir="/builddir/.kube/cache" Default cache directory
65
66
67 --certificate-authority="" Path to a cert file for the certificate
68 authority
69
70
71 --client-certificate="" Path to a client certificate file for TLS
72
73
74 --client-key="" Path to a client key file for TLS
75
76
77 --cluster="" The name of the kubeconfig cluster to use
78
79
80 --context="" The name of the kubeconfig context to use
81
82
83 --insecure-skip-tls-verify=false If true, the server's certificate
84 will not be checked for validity. This will make your HTTPS connections
85 insecure
86
87
88 --kubeconfig="" Path to the kubeconfig file to use for CLI re‐
89 quests.
90
91
92 --match-server-version=false Require server version to match
93 client version
94
95
96 -n, --namespace="" If present, the namespace scope for this CLI
97 request
98
99
100 --password="" Password for basic authentication to the API server
101
102
103 --profile="none" Name of profile to capture. One of
104 (none|cpu|heap|goroutine|threadcreate|block|mutex)
105
106
107 --profile-output="profile.pprof" Name of the file to write the
108 profile to
109
110
111 --request-timeout="0" The length of time to wait before giving up
112 on a single server request. Non-zero values should contain a corre‐
113 sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
114 out requests.
115
116
117 -s, --server="" The address and port of the Kubernetes API server
118
119
120 --tls-server-name="" Server name to use for server certificate
121 validation. If it is not provided, the hostname used to contact the
122 server is used
123
124
125 --token="" Bearer token for authentication to the API server
126
127
128 --user="" The name of the kubeconfig user to use
129
130
131 --username="" Username for basic authentication to the API server
132
133
134 --version=false Print version information and quit
135
136
137 --warnings-as-errors=false Treat warnings received from the server
138 as errors and exit with a non-zero exit code
139
140
141
143 # List recent events in the default namespace.
144 kubectl alpha events
145
146 # List recent events in all namespaces.
147 kubectl alpha events --all-namespaces
148
149 # List recent events for the specified pod, then wait for more events and list them as they arrive.
150 kubectl alpha events --for pod/web-pod-13je7 --watch
151
152
153
154
156 kubectl-alpha(1),
157
158
159
161 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
162 com) based on the kubernetes source material, but hopefully they have
163 been automatically generated since!
164
165
166
167Manuals User KUBERNETES(1)(kubernetes)