Skip to content

Instantly share code, notes, and snippets.

View dogukanturan's full-sized avatar
🎯
Focusing

Dogukan Turan dogukanturan

🎯
Focusing
View GitHub Profile
@dogukanturan
dogukanturan / docker-install.sh
Created October 31, 2020 21:05
Docker on Debian/Ubuntu
#!/bin/bash
#---INSTALL---
#1) chmod +x docker-install.sh
#2) ./docker-install.sh
echo -e "[+] - SYSTEM IS UPDATING \n"
sudo apt update -y && sudo apt upgrade -y
@dogukanturan
dogukanturan / deployment.yaml
Created September 30, 2020 14:59
Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: kind-test
spec:
selector:
matchLabels:
app: kind-test
template:
metadata:
@dogukanturan
dogukanturan / kindconfig.yaml
Last active October 27, 2020 08:50
Kind Config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "127.0.0.1" #KUBERNETES API'YE DIŞARDAN ERİŞMEK İÇİN BU ALANA SUNUCU IP ADRESİNİZİ DE YAZABİLİRSİNİZ.
apiServerPort: 6443
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30080
hostPort: 30080
@dogukanturan
dogukanturan / Vagrantfile
Last active April 29, 2024 18:04
Vagrantfile
IMAGE_NAME = "debian/bullseye64"
CPU = 1
MEMORY = 1
NODE = 3
Vagrant.configure("2") do |config|
(1..NODE).each do |i|
config.vm.provision "shell", path: 'script.sh'
config.vm.define "node-#{i}" do |node|