Advanced Search
Search Results
25 total results found
Jenkins
ArgoCD
Show All Credential
Login to jenkins Go to manage jenkins Click in run Script import com.cloudbees.plugins.credentials.Credentials Set<Credentials> allCredentials = new HashSet<Credentials>(); def creds = com.cloudbees.plugins.credentials.CredentialsProvider.lookupCr...
Docker
Installation
Erase all container log
Buat file erase-log-docker.sh #!/bin/bash docker=`docker ps --format '{{.Names}}'` for i in $docker; do echo "" > $(docker inspect --format='{{.LogPath}}' $i) echo "$i log erased" done copy code di atas dan simpan bash erase-log-docker.sh jal...
Nginx
Wazuh
Config
Config Nginx user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; error_log /var/log/nginx/error.local.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include ...
Kubernetes
Telegram Notification
Buat fileĀ /var/ossec/integrations/custom-telegram #!/bin/sh WPYTHON_BIN="framework/python/bin/python3" SCRIPT_PATH_NAME="$0" DIR_NAME="$(cd $(dirname ${SCRIPT_PATH_NAME}); pwd -P)" SCRIPT_NAME="$(basename ${SCRIPT_PATH_NAME})" case ${DIR_NAME} in...
Kubernetes Dasboard
Install kubernetes-dashboard terlebih dahulu $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml buat file dashboard.admin-user.yml apiVersion: v1 kind: ServiceAccount metadata: name: admin-user ...
Networking
Install Kubernetes menggunakan K3s
Pada saat installasi ini saya menggunakan 3 node 1 Master Node2 Worker Node Install k3s pada Master Node, perintah ini otomatis menjadikan node sebagai master node curl -sfL https://get.k3s.io | sh - Jika ingin menginstall tanpa traefik dan servicelb bisa ...
Sealed Secret
Sealed Secrets adalah solusi **secure way** untuk menyimpan dan mengelola Kubernetes `Secret` dalam format yang **aman untuk dikommit ke Git**.
Pull Image from Private Registry
Sebelum pull image dari docker private registry pada kubernetes, lakukan login terlebih dahulu. Pada contoh ini saya menggunakan registry dari gitlab dan namespace di kubernetes menggunakan 'testing' docker login registry.testing.com Buat namespace kubectl ...
Wazuh Configuration
<!-- Wazuh - Manager - Default configuration for almalinux 9.2 More info at: https://documentation.wazuh.com Mailing list: https://groups.google.com/forum/#!forum/wazuh --> <ossec_config> <global> <jsonout_output>yes</jsonout_output> ...
ArgoCD Image Updater
https://argocd-image-updater.readthedocs.io/en/stable/install/installation/ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml