This file contains hidden or 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 example first defines some necessary namespace and RBAC security objects. | |
# The actual Ceph Cluster CRD example can be found at the bottom of this example. | |
################################################################################# | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: rook-ceph | |
--- | |
apiVersion: v1 |
This file contains hidden or 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
REVISION: 1 | |
RELEASED: Fri Oct 26 12:30:42 2018 | |
CHART: rook-ceph-v0.8.3 | |
USER-SUPPLIED VALUES: | |
{} | |
COMPUTED VALUES: | |
hyperkube: | |
pullPolicy: IfNotPresent | |
repository: k8s.gcr.io/hyperkube |
This file contains hidden or 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
nginx-ingress-dashboard.json: |- | |
{ | |
"dashboard": { | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", |
This file contains hidden or 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
global: | |
rbacEnable: true | |
alertmanager: | |
image: | |
tag: v0.15.2 | |
ingress: | |
enabled: true | |
annotations: | |
kubernetes.io/ingress.class: nginx |
This file contains hidden or 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
global: | |
hyperkube: | |
tag: v1.10.4_coreos.0 | |
prometheusConfigReloader: | |
tag: v0.23.2 | |
image: | |
tag: v0.23.2 |
This file contains hidden or 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
#!/bin/bash | |
if [ $# -lt 1 ]; then | |
echo 1>&2 "$0: Arguments: ENVIRONMENT" | |
exit 2 | |
fi | |
env=$1 | |
cwd=$(pwd) |
This file contains hidden or 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
{ | |
"name": "Kerin Cosford", | |
"picture": "https://avatars2.githubusercontent.com/u/38736?v=4", | |
"nickname": "kerin", | |
"gravatar_id": "", | |
"url": "https://api.github.com/users/kerin", | |
"html_url": "https://github.com/kerin", | |
"followers_url": "https://api.github.com/users/kerin/followers", | |
"following_url": "https://api.github.com/users/kerin/following{/other_user}", | |
"gists_url": "https://api.github.com/users/kerin/gists{/gist_id}", |
This file contains hidden or 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
# local dev env | |
version: '3' | |
services: | |
django: | |
build: . | |
ports: | |
- "8011:8000" | |
depends_on: | |
- postgres | |
links: |
This file contains hidden or 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
daemon off; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
worker_rlimit_nofile 261120; | |
worker_shutdown_timeout 10s ; | |
events { |
This file contains hidden or 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
helm repo add mojanalytics https://ministryofjustice.github.io/analytics-platform-helm-charts/charts/ | |
export USER=robinl | |
export RSTUDIO_TAG=v1.3.2 | |
helm repo update && \ | |
helm upgrade $USER-rstudio mojanalytics/rstudio \ | |
-f chart-env-config/alpha/rstudio.yml \ | |
--set username=$USER \ | |
--set aws.iamRole=alpha_user_$USER \ | |
--set rstudio.image.tag=$RSTUDIO_TAG \ |