Target System: MacBook Pro Retina 15" (Late 2013, Model 11,3)
OS: Linux (Mint/Ubuntu/Debian based)
Objective: Completely power down the dedicated NVIDIA GT 750M to save battery and reduce heat, relying solely on the Integrated Intel Iris Pro graphics.
| deb https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-backports contrib main non-free non-free-firmware |
This switch does not allow you to choose which ports the default VLAN is connected to. Seeing that the configs for the default VLAN do get dumped into the config backup file, I decided to patch that file, modifying and uploading the internal config of the switch instead of politely asking it to remove that VLAN from some ports.
If you open the config file with a hex editor, you'll notice somewhere in the middle the strings "Default_VLAN", followed by the names of the VLANs
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>mwd.sleepMac</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/path/to/sleepMac.sh</string> | |
| </array> |
| Aspect or Feature | kubernetes/ingress-nginx | nginxinc/kubernetes-ingress with NGINX | nginxinc/kubernetes-ingress with NGINX Plus |
|---|---|---|---|
| Fundamental | |||
| Authors | Kubernetes community | NGINX Inc and community | NGINX Inc and community |
| NGINX version | Custom NGINX build that includes several third-party modules | NGINX official mainline build | NGINX Plus |
| Commercial support | N/A | N/A | Included |
| Implemented in | Go/Lua (while Nginx is written in C) | Go/Python | Go/Python |
| Load balancing configuration via the Ingress resource |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| # any name can be used; Velero uses the labels (below) | |
| # to identify it rather than the name | |
| name: change-storage-class-config | |
| # must be in the velero namespace | |
| namespace: velero | |
| # the below labels should be used verbatim in your | |
| # ConfigMap. |
| FROM nginx:alpine AS builder | |
| # nginx:alpine contains NGINX_VERSION environment variable, like so: | |
| # ENV NGINX_VERSION 1.15.0 | |
| # Our NCHAN version | |
| ENV NCHAN_VERSION 1.1.15 | |
| # Download sources | |
| RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \ |
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/#looking-at-logs
sudo journalctl -u kube-apiserver --follow
see https://kubernetes.io/docs/reference/kubectl/cheatsheet/
recvtty is a reference implementation of a consumer of runC's --console-socket API. It is automatically built when doing a make on the runc project.
These instructions were tested on Ubuntu 16.04. Also go, git are required.
go get github.com/opencontainers/runc
cd $GOPATH/src/github.com/opencontainers/runc