This file contains hidden or 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
https://www.reddit.com/r/kubernetes/comments/b2v74a/traefik_as_ingress_controller_strip_path_prefix/ |
This file contains hidden or 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
--eviction-hard=memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5% |
This file contains hidden or 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
https://forum.manjaro.org/t/help-with-virtualbox-6-installing-guest-additions/72996/7 |
This file contains hidden or 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
HOW TO CONVERT A VIRTULBOX VM TO A BOOTABLE DRIVE | |
JUL 5, 2017 | |
This is quite easy so I was surprised that I couldn’t find a walk-through anywhere…so here’s one :) This is specifically for a VM of Ubuntu, so it’s possible there may be other hurdles in place for different operating systems. | |
STEP 1 | |
Create a VM normally in VirtualBox (or use an existing one), install the operating system, and add any programs or files you want to have readily available on the bootable disk. | |
STEP 2 | |
This is the tricky part, you can use Virtual Box to convert a vdi to an iso, but you have to do it from the terminal. On my machine it wouldn’t work at all in windows default terminal, but I have Cygwin installed, and was able to use that. You first need to cd into the directory where Virtual Box is installed, and run the following command. The folder structure is specific to my machine and will most likely need to be changed on yours. | |
1 |
This file contains hidden or 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
KUBERNETES RBAC: RESTRICT USER ACCESS TO ONE NAMESPACE | |
1. Create Namespace | |
kubectl create namespace mynamespace | |
2. Create Service Account with permissions | |
Open a new file. Let’s call it access.yaml. We’re going to create the user (service account), a role, and attach that role to that user. | |
--- | |
apiVersion: v1 |
This file contains hidden or 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
FROM gliderlabs/alpine:latest | |
MAINTAINER [email protected] | |
RUN apk update && apk --update add ruby \ | |
ruby-io-console ca-certificates libssl1.0 openssl libstdc++ \ | |
libxml2-dev libffi-dev | |
ADD Gemfile /app/ | |
ADD Gemfile.lock /app/ |
This file contains hidden or 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
https://github.com/dempfi/ayu | |
https://medium.com/the-code-review/make-your-terminal-more-colourful-and-productive-with-iterm2-and-zsh-11b91607b98c |
This file contains hidden or 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
version: "2" | |
networks: | |
devnet: | |
driver: bridge | |
services: | |
master: | |
image: richardsonlima/jenkins-cluster-master-2.150.3:v1 | |
ports: |
This file contains hidden or 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
version: "2" | |
services: | |
master: | |
image: richardsonlima/jenkins-cluster-master-2.150.3:v1 | |
ports: | |
- "8080:8080" | |
environment: | |
- JAVA_OPTS=-Xmx2048m | |
volumes: | |
- jenkins-master:/var/jenkins_home |
This file contains hidden or 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
Two commands that will solve this : | |
sudo pmset -b tcpkeepalive 0 | |
sudo pmset hibernatemode 25 | |
To disable this just use (this will revert everything back to normal. | |
sudo pmset -b tcpkeepalive 1 | |
sudo pmset hibernatemode 3 | |
==> note this will disable also "find my mac" | |