![]() Automatic merge from submit-queue fixes invalid null selector issue in sysdig example yaml <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: Using the file DaemonSet yaml found in the example repo you get the following error upon import: ``` $ kubectl create -f sysdig.yml The DaemonSet "sysdig-agent" is invalid. spec.template.metadata.labels: Invalid value: null: `selector` does not match template `labels` ``` This PR fixes this issue. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note ``` * Corrected name label metadata for Sysdig example. |
||
---|---|---|
.. | ||
README.md | ||
sysdig-daemonset.yaml | ||
sysdig-rc.yaml |
README.md
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest release of this document can be found [here](http://releases.k8s.io/release-1.4/examples/sysdig-cloud/README.md).Documentation for other releases can be found at releases.k8s.io.
Sysdig Cloud is a monitoring, alerting, and troubleshooting platform designed to natively support containerized and service-oriented applications.
Sysdig Cloud comes with built-in, first class support for Kubernetes. In order to instrument your Kubernetes environment with Sysdig Cloud, you simply need to install the Sysdig Cloud agent container on each underlying host in your Kubernetes cluster. Sysdig Cloud will automatically begin monitoring all of your hosts, apps, pods, and services, and will also automatically connect to the Kubernetes API to pull relevant metadata about your environment.
Example Installation Files
Provided here are two example sysdig.yaml files that can be used to automatically deploy the Sysdig Cloud agent container across a Kubernetes cluster.
The recommended method is using daemon sets - minimum kubernetes version 1.1.1.
If daemon sets are not available, then the replication controller method can be used (based on this hack).
Latest Files
See here for the latest maintained and updated versions of these example files: https://github.com/draios/sysdig-cloud-scripts/tree/master/agent_deploy/kubernetes
Install instructions
Please see the Sysdig Cloud support site for the latest documentation: http://support.sysdigcloud.com/hc/en-us/sections/200959909