Your cart is currently empty!
Author: Website Admin
Bitbucket Pipelines
Untuk mengaktifkan fitur Pipelines pada Bitbucket repository anda: Buka repository anda. Pilih menu Repository settings. Pada block menu Pipelines, pilih settings. Aktifkan Enable Pipelines. Buat file bitbucket-pipelines.yml pada root repository anda. Contoh konfigurasi bitbucket-pipelines.yml adalah sbb: Penjelasan: Jika global image tidak dideklarasikan secara eksplisit, maka image yang digunakan adalah atlassian/default-image:latest (1). pipelines.default – Pipeline ini…
Kubernetes: Volumes
emptyDir Volume tipe emptyDir merupakan sebuah shared folder yang hidup dalam sebuah pod. Jika sebuah pod gugur, maka data pada emptyDir juga akan ikut hilang. Namun jika container yang mengalami kegagalan, data pada emptyDir tidak akan hilang. Yang dapat mengakses shared folder ini adalah container-container di dalam pod tersebut. Volume tipe ini biasanya digunakan untuk…
Kubernetes: Deployments Workload
Resource type alias deploy = deployment = deployments Create deployments workload with command line: Create deployments workload using YAML file: Edit deployments workload: Delete deployments workload: Scale deployments workload: Update container image: Check update status Check update history Check update history based on revision Undo the updates References:
Kubernetes: Pods
Resource type alias po = pod = pods Membuat Pod dengan command line Membuat Pod dengan file YAML Menghapus Pod Menapilkan daftar Pod di dalam cluster Melihat detail sebuah Pod Menjalankan perintah dalam default container pada sebuah Pod Masuk ke dalam default container pada sebuah Pod Resources: Pods | Kubernetes kubectl Cheat Sheet | Kubernetes…
Kubernetes: The Clusters
Persyaratan untuk dapat mengoperasikan Kubernetes adalah sebuah cluster. Berikut adalah daftar cluster yang populer digunakan. #1. Kubeadm Kubeadm | Kubernetes Menginisiasi cluster [ERROR NumCPU]: the number of available CPUs 1 is less than the required 2[ERROR Mem]: the system RAM (981 MB) is less than the minimum 1700 MB Your Kubernetes control-plane has initialized successfully!…
Linux: Stopping HDD
Once in a blue moon, you want to change your hard disk without shutting down your system. And all you need to do is run this command:
OpenSSL: SSL Certificate X.509
Root certificate (CA) Create root certificate private key with password: To generate private key without password just takeout the -des3 option Create root certificate public key: Create root private key and X.509 certificate (self-signed) in one go: Server certificate Create server certificate private key. Create server certificate request. Output certificate request Signing Sign certificate request…
Join Ubuntu to LDAP/Active Directory
Install these packages: Join the domain List the domain Leave the domain /etc/sssd/sssd.conf By default you will need to login with [email protected]. To login using username without @domain.name, change the use_fully_qualified_names to false. /etc/sudoers If you find yourself unable to execute sudo, then you might want to edit these lines. You also can add yourself…
Laravel Environment File .env
Generate application key Most of the time this is done via Laravel artisan command php artisan key:generate. But if you want to set it manually, you just need to fill APP_KEY inside the .env file with:– random 32 characters or– something with the length of 32 bytes encoded in base64. If you choose to go…