This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
backend k8s_servers | |
balance roundrobin | |
server k8s-cp1 172.31.6.219:6443 check # add other node later | |
server k8s-cp2 172.31.4.168:6443 check | |
server k8s-cp3 172.31.8.252:6443 check | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teleport: | |
nodename: "ip-172-31-20-176" | |
auth_token: "9bc3f13428d8d438f2928f16f5f367ee" | |
ca_pin: "sha256:080ccaf918422865de8e72cc462823e565892355650e9e8e89bcf88abd2962ff" | |
auth_servers: | |
- "172.31.1.103:3025" | |
ssh_service: | |
enabled: true | |
labels: | |
env: example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PYTHONUNBUFFERED=0 | |
REDASH_LOG_LEVEL=INFO | |
REDASH_HOST=http://redash.yourdomain.tld | |
REDASH_SERVER_NAME=http://redash.yourdomain.tld | |
REDASH_COOKIE_SECRET=VeryStrongSecret123 | |
REDASH_SECRET_KEY=OtherVeryStrongSecret098 | |
REDASH_REDIS_URL=redis://redis:6379/redash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
store | item | count | |
---|---|---|---|
Medan | Robusta | 12 | |
Medan | Arabika | 19 | |
Medan | Luwak | 18 | |
Medan | Liberika | 0 | |
Medan | Gayo | 10 | |
Medan | Toraja | 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deploy | |
labels: | |
app: nginx | |
spec: | |
replicas: 5 | |
selector: | |
matchLabels: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: nginx-pvc | |
labels: | |
app: nginx | |
spec: | |
resources: | |
requests: | |
storage: 1Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install Longhorn Requirement Packages | |
hosts: all | |
remote_user: ubuntu | |
gather_facts: false | |
become: yes | |
tasks: | |
- name: Install packages | |
ansible.builtin.apt: | |
pkg: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## multi stage | |
mkdir ~/latihan-multi-stage | |
cd ~/latihan-multi-stage | |
git clone https://github.com/kudaliar032/comfortable-vue-blog.git | |
cd comfortable-vue-blog | |
vim Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Instruksi Pengerjaan Hands-on Lab ##### | |
1. Apabila terdapat X.X.X.X, sesuaikan dengan IP Address masing-masing | |
2. Lakukan penangkapan layar (screenshot) secara penuh tanpa ada pemotongan (crop) pada semua instruksi | |
untuk melakukan penangkapan layar | |
3. Penulisan nama file screenshot menggunakan format "[nomor urut]-[nama training]-[hari]-[urutan screenshot]", contoh: | |
"5-docker-2-B" | |
########################## | |
##### Install Docker ##### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: k0sctl.k0sproject.io/v1beta1 | |
kind: Cluster | |
metadata: | |
name: k0s-cluster | |
spec: | |
hosts: | |
- ssh: | |
address: 11.11.11.11 | |
user: ubuntu | |
port: 22 |
NewerOlder