Skip to content

Instantly share code, notes, and snippets.

View minhpq331's full-sized avatar

Minh Monmen minhpq331

  • Torilab
  • Hanoi
View GitHub Profile
@minhpq331
minhpq331 / cloudSettings
Last active February 8, 2021 05:12
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-02-07T04:14:43.291Z","extensionVersion":"v3.4.3"}
@minhpq331
minhpq331 / admin-user.yaml
Last active September 5, 2020 07:45
Create admin user for accessing K8S dashboard
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
@minhpq331
minhpq331 / docker-daemon.json
Last active August 1, 2021 06:20
Sysctl tuning
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3",
"labels": "com.docker.compose.project,com.docker.compose.service,com.docker.stack.namespace,com.docker.swarm.service.name,com.docker.swarm.task.name,com.docker.swarm.node.id"
}
}