Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Denys Holius denisgolius

🎯
Focusing
View GitHub Profile
View vmsingle-values.yaml
# Default values for victoria-metrics.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
rbac:
create: true
pspEnabled: true
namespaced: false
extraLabels: {}
# annotations: {}
View vmagent.yaml
replicaCount: 1
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
deployment:
enabled: true
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
strategy: {}
# rollingUpdate:
# maxSurge: 25%
@denisgolius
denisgolius / docker-compose.yaml
Created Jun 18, 2021
VictoriaMetrics cluster with 2 vmstorages
View docker-compose.yaml
version: '3.5'
services:
vmagent:
container_name: vmagent
image: victoriametrics/vmagent
depends_on:
- "vminsert"
ports:
- 8429:8429
volumes:
@denisgolius
denisgolius / README.md
Created Oct 25, 2019 — forked from egeneralov/README.md
Ansible configuration for limit user to its namespace, and list all namespaces in cluster (for dashboard). Can be used for provide access to stage environments for your developers.
View README.md

k8s-rbac-limit-user-to-namespace.yml

Ansible configuration for limit user to its namespace, and list all namespaces in cluster (for dashboard). Can be used for provide access to stage environments for your developers.

Just ansible-playbook k8s-rbac-limit-user-to-namespace.yml -e namespace=cool-app-development and gather result from /tmp/cool-app-development.yaml

pre-requirements

You must have:

@denisgolius
denisgolius / generate-ssh-key.sh
Created Oct 4, 2018 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
View generate-ssh-key.sh
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
View openvpn-client-key-gen.sh
#!/bin/bash
#
# OpenVPN Client Key Generation Script
#
# Author: rtfpessoa
# Date: 03-09-2016
#
# Based on the guide:
# * https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04
@denisgolius
denisgolius / redmine_openissue.sh
Created Feb 21, 2018 — forked from joaquindlz/redmine_openissue.sh
Zabbix Action remote script: Open Redmine issue
View redmine_openissue.sh
#!/usr/bin/env bash
#######################################################################
#
# Joaquín de la Zerda <joaquindelazerda@gmail.com>
# Zabbix Custom alertscripts: Open Redmine issue
# 20160402
#
#######################################################################