> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skyhook.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Skyhook events

## skyhook events

View Kubernetes events for a service

### Synopsis

View Kubernetes events related to a service.

By default, fetches events via the Skyhook API.
Use --local to fetch directly from your kubectl context.

```
skyhook events [flags]
```

### Examples

```
  skyhook events                              # Events via API
  skyhook events --env prod                   # Events from production
  skyhook events --local                      # Direct k8s access
  skyhook events --local -A                   # All namespaces via k8s
```

### Options

```
  -A, --all-namespaces   Get events from all namespaces (local mode only)
      --context string   Kubernetes context to use (local mode only)
  -e, --env string       Environment to get events from
  -h, --help             help for events
      --local            Use local kubectl context instead of API
  -s, --service string   Service to get events for
      --warnings-only    Show only warning events
```

### Options inherited from parent commands

```
      --debug        Enable debug mode (shows full API requests/responses)
  -o, --org string   Organization name
  -v, --verbose      Enable user-friendly verbose output
```

### SEE ALSO

* [skyhook](/cli-reference/skyhook)	 - skyhook is a CLI tool to help you create and manage k8s services
