Skip to content

Instantly share code, notes, and snippets.

View gilangvperdana's full-sized avatar
🎓
Still Learning

Gilang Virga Perdana gilangvperdana

🎓
Still Learning
View GitHub Profile
@gilangvperdana
gilangvperdana / README.md
Last active February 6, 2022 11:06
Installation OpenStack Victoria All-in-One on Cloud with Kolla Ansible

Installation OpenStack Victoria on VM Cloud

Environment

1. Virtual Machine Ubuntu 20.04LTS (Azure, GCP, AWS, Aliyun, etc)
2. 16GB RAM
3. 512 GB Storage
4. One disk add for PV
@gilangvperdana
gilangvperdana / README.md
Last active March 15, 2022 13:30
Kerebros Installation on Ubuntu Server 20.04 LTS

Instalasi Kerberos pada Ubuntu 20.04 LTS

Mencoba untuk implementasi Kerberos pada Ubuntu 20.04LTS.
Jika saya menuliskan Server, silahkan eksekusi di Server Node begitupun sebaliknya.

Kerberos Cluster:

1 Server & 1 Client.
Realm : kerberos.com
@gilangvperdana
gilangvperdana / README.md
Last active April 25, 2022 11:54
Docker GitLab & Jenkins

GitLab & Jenkins Docker Provisioning

Just my Learning Documentation

Docker-Compose.yml

nano docker-compose.yml
@gilangvperdana
gilangvperdana / README.md
Last active April 27, 2022 04:19
Kube Watcher BOT on Slack

Kubernetes Monitoring on Slack

Just an Learning Documentation

Slack Configuration

  • Configure Slack BOT
https://my.slack.com/services/new/bot
Create a new BOT, then copy API TOKEN
@gilangvperdana
gilangvperdana / MINIKUBE.md
Last active May 1, 2022 07:47
Expose Service with NodePort to Private Network Subnets Cluster on Minikube

Expose Service to Private Network with Minikube

You must have gotten a client where the client wants to see the results of the application work on Kubernetes, this we can use Nginx Proxy to reverse the IP service that is above Minikube to the IP private network around us. At least, if we can access it on our private network subnet, we can use the router to reverse private ip to public ip again.

Use Case

I want to expose my ReactJS apps to Private Network Subnet on Minikube. So user can access my ReactJS apps on Minikube with Private Network

I have an ReactJS apps run on Minikube with port 3000
@gilangvperdana
gilangvperdana / README.md
Last active May 5, 2022 06:40
Speedtest & Check Public IP on Linux CLI

Check Public IP on Linux CLI

curl ifconfig.me
curl -4/-6 icanhazip.com
curl ipinfo.io/ip
curl api.ipify.org
curl checkip.dyndns.org
dig +short myip.opendns.com @resolver1.opendns.com
host myip.opendns.com resolver1.opendns.com
curl ident.me
@gilangvperdana
gilangvperdana / README.md
Created May 6, 2022 00:48
DevStack with Magnum & Heat local.conf Template

DevStack with Magnum & Heat local.conf Template

Installaion

Provisioning with DevStack can be seen Here

Local.conf Configuration

nano local.conf
@gilangvperdana
gilangvperdana / README.md
Last active May 6, 2022 03:13
Expose Nginx Ingress with specify HOST Header on K8s on-prem with OpenVPN

Expose Nginx Ingress on K8s with OpenVPN

Expose to world your Apps on K8s On-Premises with Nginx Ingress + Metallb + OpenVPN

Goals

  • You can access your apps with Ingress URL on your K8s on-prem to the World!

Markdown

  • 192.168.17.50 are Nginx Ingress External IP Generated by MetalLB.
  • res.bignetlab.com are Domain for this case.
  • This default.conf are Nginx on Host (not on K8s stack).
@gilangvperdana
gilangvperdana / README.md
Last active May 8, 2022 12:39
Apache2 / HTTPD Server Block

All About Apache / Httpd

Baremetal

  • Installation
apt install -y apache2
  • Configuration on /etc/apache2/
@gilangvperdana
gilangvperdana / README.md
Last active May 9, 2022 07:53
All About Web Server on Docker

All About Web Server on Docker

Nginx

  • QuickStart

    docker pull gilangvperdana/landingpages:nginx
    
  • Dockerfile