By default, K3S will run with flannel as the CNI and use custom directories to store CNI plugin binaries and config files(You can inspect the kubelet args K3S uses via journalctl -u k3s|grep cni-conf-dir).
So you need to configure that properly When deploying Multus CNI.
For example given the official Multus manifests in https://github.com/intel/multus-cni/blob/36f2fd64e0965e639a0f1d17ab754f0130951aba/images/multus-daemonset.yml, the following changes are needed:
volumes:
- name: cni| #!/usr/bin/env bash | |
| function walk() { | |
| for secret in $(vault list $1 | tail -n +3) | |
| do | |
| if [[ ${secret} == *"/" ]] ; then | |
| walk "${1}${secret}" | |
| else | |
| echo "${1}${secret}" | |
| fi |
| List all Google Compute Engine instance resources: | |
| $ gcloud compute instances list | |
| List Compute Engine instance resources that have machineType f1-micro: | |
| $ gcloud compute instances list --filter="machineType:f1-micro" | |
| List Compute Engine instance resources with zone prefix us and not | |
| MachineType f1-micro: |
| #!/usr/bin/env python3 | |
| import csv | |
| import datetime | |
| import getpass | |
| import os | |
| import re | |
| import sys | |
| import time |
| #!/bin/bash | |
| # Copyright © 2017 Google Inc. | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
External Resources
- linuxacademy.com (Training)
- Acloud.guru (training)
- Read the top-level Documentation and FAQs for all the major AWS resources (EC2, S3, RDS, Auto Scaling, etc). The answers to the "nit-picky" questions can be found here. It's also helpful to go deeper on VPCs and networking-related concepts.
- Everyone says read the white papers. The ones I read were:
- Security Best Practices https://d0.awsstatic.com/whitepapers/Security/AWS_Security_Best_Practices.pdf
- Cloud Best Practices https://d0.awsstatic.com/whitepapers/AWS_Cloud_Best_Practices.pdf
| // Drop this into init.groovy.d so that it gets executed at startup time. | |
| // One could also use this script to explicitly set a port. | |
| def inst = Jenkins.getInstance() | |
| def sshDesc = inst.getDescriptor("org.jenkinsci.main.modules.sshd.SSHD") | |
| sshDesc.setPort(-1) | |
| sshDesc.getActualPort() | |
| sshDesc.save() |
| require 'sinatra' | |
| require 'sinatra/namespace' | |
| require 'sinatra/json' | |
| require 'base64' | |
| require 'json' | |
| require 'zlib' | |
| require 'stringio' | |
| require 'pry' |
How to compile Mesos on your new Raspberry Pi 2 (which is amazing with 4 cores and 6x performance). Follows on from experiments in compiling for OS X
sudo apt-get install maven libsasl2-dev libapr1-dev libsvn-dev libcurl4-openssl-dev python-dev python-boto
export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt"
export PATH=$JAVA_HOME/bin:$PATH
http://likemagicappears.com/projects/raspberry-pi-cluster/mesos-on-raspbian/