-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from robusta-dev/helm-chart
Helm chart
- Loading branch information
Showing
52 changed files
with
664 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +0,0 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: robusta-runner | ||
labels: | ||
app: robusta-runner | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: robusta-runner | ||
template: | ||
metadata: | ||
labels: | ||
app: robusta-runner | ||
spec: | ||
serviceAccountName: robusta-runner | ||
containers: | ||
- name: runner | ||
image: us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner | ||
imagePullPolicy: Always | ||
securityContext: | ||
privileged: false | ||
env: | ||
- name: CUSTOM_PLAYBOOKS_ROOT | ||
value: /etc/robusta/config | ||
- name: ENABLE_MANHOLE | ||
value: "true" | ||
- name: ENABLE_COLORED_LOGS | ||
value: "true" | ||
- name: LOG_LEVEL | ||
value: INFO | ||
- name: INSTALLATION_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
volumeMounts: | ||
- name: playbooks-config | ||
mountPath: /etc/robusta/config | ||
lifecycle: | ||
preStop: | ||
exec: | ||
command: ["bash", "-c", "kill -SIGINT 1"] | ||
- name: grafana-renderer | ||
image: us-central1-docker.pkg.dev/genuine-flight-317411/devel/grafana-renderer:4 | ||
imagePullPolicy: Always | ||
securityContext: | ||
privileged: false | ||
lifecycle: | ||
preStop: | ||
exec: | ||
command: ["bash", "-c", "kill -SIGINT 1"] | ||
resources: | ||
limits: | ||
memory: "512Mi" | ||
volumes: | ||
- name: playbooks-config | ||
configMap: | ||
name: robusta-config | ||
optional: true | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: robusta-runner | ||
spec: | ||
selector: | ||
app: robusta-runner | ||
ports: | ||
- name: http | ||
protocol: TCP | ||
port: 80 | ||
targetPort: 5000 | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Uninstalling Robusta | ||
##################### | ||
|
||
Everything Robusta installs is placed in the ``robusta`` namespace. To delete Robusta, just delete that namespace. | ||
If you installed Robusta on a custom namespace, delete that one. | ||
Robusta is installed using ``helm``. Running ``helm uninstall robusta`` removes all the installed components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Robusta helm chart | ||
Robusta's helm chart is served from our gcp bucket | ||
|
||
# Upload a new chart version | ||
If you want to upload a new chart version, follow these steps: | ||
1. Update `Chart.yaml` file, with the updated `version` (Chart version) and `appVersion` (Robusta version) | ||
2. Make sure `helm` and `gsutil` is installed on your machine. | ||
3. From the directory, `helm`, run: `./upload_chart.sh` | ||
|
||
# Installing robusta with the helm chart | ||
1. Download the Robusta cli: | ||
`pip3 install -U robusta-cli --no-cache` | ||
2. Add Robusta's chart repo: | ||
`helm repo add robusta https://robusta-charts.storage.googleapis.com` | ||
3. Get a local copy of the Robusta chart | ||
`helm pull robusta/robusta --untar` | ||
This created a directory named `robusta` on your current directory | ||
4. Create the initial configuration for Robusta: | ||
`robusta gen-config --base-config-file robusta/active_playbooks.yaml` | ||
Follow the instructions, and a file named `active_playbooks_generated.yaml` is created | ||
5. Override the defaults file with the generated file: | ||
`cp active_playbooks_generated.yaml robusta/active_playbooks.yaml` | ||
6. Lastly, install Robusta: | ||
`helm install robusta ./robusta` |
Oops, something went wrong.