Skip to content

Instantly share code, notes, and snippets.

@davoult
davoult / tuned.conf
Created February 6, 2020 13:12 — forked from kofemann/tuned.conf
Tuned profile for PostgreSQL server on CENTOS-7
#
# tuned configuration for PostgresSQL servers
# /usr/lib/tuned/postgres-db-server/tuned.conf
#
[cpu]
force_latency=1
governor=performance
energy_perf_bias=performance
min_perf_pct=100
@davoult
davoult / Kubernetes_initiation.md
Last active March 18, 2021 20:38
Initiation à Kubernetes
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: signald
name: signald
namespace: matrix
spec:
@davoult
davoult / store.yaml
Last active June 28, 2022 14:07
microservices-demo APP
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@davoult
davoult / create-existing-folder-permissions.sh
Last active December 8, 2023 20:28 — forked from jcpowermac/create-existing-folder-permissions.sh
openshift vsphere permissions with govc
#!/bin/bash
set -e
set -x
declare -A roles
VCENTER="Cns.Searchable InventoryService.Tagging.AttachTag InventoryService.Tagging.CreateCategory InventoryService.Tagging.CreateTag InventoryService.Tagging.DeleteCategory InventoryService.Tagging.DeleteTag InventoryService.Tagging.EditCategory InventoryService.Tagging.EditTag Sessions.ValidateSession StorageProfile.View"
VCENTER_ROLE_NAME="openshift-vcenter-level"
@davoult
davoult / etcd-backup-cron.yaml
Last active March 2, 2022 10:59 — forked from dmc5179/etcd-backup-cron.yaml
OpenShift Cron job to backup etcd database
---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: etcd-backup
namespace: openshift-etcd
spec:
schedule: '@daily'
jobTemplate:
spec: