Skip to content

Instantly share code, notes, and snippets.

View ingvarch's full-sized avatar
🍺
Not drunk enough

Igor Churmeev ingvarch

🍺
Not drunk enough
View GitHub Profile
@ingvarch
ingvarch / api-server.yaml
Created July 13, 2023 14:50 — forked from f41gh7/api-server.yaml
vm operator configuration examples
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: apiserver
namespace: monitoring-system
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
bearerTokenSecret:
key: ""
@ingvarch
ingvarch / nats-cluster-tls-kubernetes.org
Created September 9, 2022 11:41 — forked from wallyqs/nats-cluster-tls-kubernetes.org
Secure NATS Cluster in Kubernetes

Secure NATS Cluster in Kubernetes

Creating the certificates

Generating the Root CA Certs

{
    "CN": "My Custom CA",
@ingvarch
ingvarch / pritunl-backup.sh
Created May 12, 2021 06:04 — forked from aleskiontherun/pritunl-backup.sh
Backup and restore Pritunl database.
sudo service pritunl stop
mongodump -d pritunl -o pritunl-bkp
tar -czvf pritunl-bkp.tar.gz pritunl-bkp
@ingvarch
ingvarch / jira-behing-nginx-ssl
Created July 8, 2016 06:53 — forked from jtbonhomme/jira-behing-nginx-ssl
Atlassian JIRA behind nginx + SSL
# force HTTP to HTTPS - /etc/nginx/conf.d/nonssl.conf
server {
listen 80;
server_name jira.example.com;
access_log off;
return 301 https://$server_name$request_uri;
}
# /etc/nginx/conf.d/jira.conf
server {