- SSH into master node
- Modify
spec.containers.commandin/etc/kubernetes/manifests/kube-apiserver.yamlto have- --enable-aggregator-routing=trueflag if you do not run kube-proxy on a host running the API server - Fetch manifest file https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.6/components.yaml
- Search and replace
amd64withppc64lewith command:sed -i 's/amd64/ppc64le/g' components.yaml - Start the metric servers with
kubectl apply -f components.yaml
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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCgyvCeNY1X7DmUPzLgpYoyIglrFT5YO40DIYoL9WuHFwdiXU0m8S+dnc2aGQ78XU6SJCUaOmg2uUnTqjYwf8JmwFmTp9iil4qmw+opudUFZw++Yh6MF/Qt9aC68YWxa3b+NxbHK4ouNFO4ODTgPcHdmK5ENX1TNvb8xxMlPAxpgfiQKHiJL4ItcZZiVDmx9sMJRNqJ4REV4ZyyzotRRXAsThjm4rVSg95jbfl4UEnTfd23K8k5zhAuwPf84NlhlEdwuCxpWmGmSJ0QgMh6076bSC1++d9nMKU8xY9oX4NiVvdaJHL2dLdrhLh7CZ9efUeOVcJ4spKM1wJCW4Btt8Sj trung.le@ruby-journal.com |
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
| #!/bin/bash | |
| set -e | |
| ## CRI containrd | |
| ## CNI flannel | |
| # Alpine Edge only! Let's hope alpine 3.13 or 3.14 would have k8s in main tree | |
| echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories | |
| echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories |
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
| Homebrew build logs for binutils on 3.10.0-1127.el7.ppc64le | |
| Build date: 2020-05-26 11:05:42 |
use dconf-editor or gsettings to change following properties:
org.gnome.desktop.background.picture-urifile:///home/tle/Pictures/pattern4.pngorg.gnome.desktop.background.picture-options'wallpaper'org.gnome.desktop.background.primary-color#3c6eb4org.gnome.desktop.background.secondary-color#294172
cd /tmp
wget https://github.com/yaml/libyaml/archive/dist-0.2.2.tar.gz
tar xzvf dist-0.2.2.tar.gz
cd libyaml-dist-0.2.2
mkdir -p $HOME/.linuxbrew/Homebrew/Cellar/portable-libyaml/0.2.2
./configure --enable-static --disable-shared --disable-dependency-tracking --prefix=$HOME/.linuxbrew/Homebrew/Cellar/portable-libyaml/0.2.2
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
| $ cat /etc/os-release | |
| NAME=Fedora | |
| VERSION="31 (Server Edition)" | |
| ID=fedora | |
| VERSION_ID=31 | |
| VERSION_CODENAME="" | |
| PLATFORM_ID="platform:f31" | |
| PRETTY_NAME="Fedora 31 (Server Edition)" | |
| ANSI_COLOR="0;34" | |
| LOGO=fedora-logo-icon |
ERROR LOG
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/tle/src/devilutionX/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_ce964/fast && /usr/bin/gmake -f CMakeFiles/cmTC_ce964.dir/build.make CMakeFiles/cmTC_ce964.dir/build
gmake[1]: Entering directory '/home/tle/src/devilutionX/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ce964.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_ce964.dir/src.c.o -c /home/tle/src/devilutionX/build/CMakeFiles/CMakeTmp/src.c
How to combine many queries together in query? Simply use bool boolean with must
{
"query: {
"bool": {
"must": [
{ <query 1> },
{ <query 2> }
]