Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
in the code

Artur Orlański orlanrepo

👻
in the code
View GitHub Profile
View iso2usb.txt
# Search disk
sudo fdisk -l
# Unmount
umount /dev/sdc1
# Store iso
sudo dd if=filename.iso of=/dev/sdc bs=4M
# Final
View wallpaper-video
cvlc --video-wallpaper --no-audio /path/to/video.mp4 --no-video-title-show --loop &> /dev/null &
@orlanrepo
orlanrepo / k8s-deployments.txt
Created May 12, 2019
View and delete deployments
View k8s-deployments.txt
View
kubectl get deployments --all-namespaces
Delete
kubectl delete -n NAMESPACE deployment DEPLOYMENT
@orlanrepo
orlanrepo / k8s-recreate-join-token.txt
Created May 11, 2019
Recreate the token for join command. Token lasts 24h.
@orlanrepo
orlanrepo / k8s-join-remind.txt
Last active May 11, 2019
View the kubeadm join command
View k8s-join-remind.txt
sudo kubeadm token create --print-join-command
View k8s-firewall.yaml
apiVersion: v1
kind: Service
metadata:
name: local-firewall
spec:
ports:
- port: 8765
targetPort: 9376
selector:
app: example
You can’t perform that action at this time.