Ubuntu 22.04
#cloud-config
hostname: gobgp
manage_etc_hosts: True
#cloud-config | |
hostname: gobgp1 | |
manage_etc_hosts: True | |
timezone: Asia/Tokyo | |
system_info: | |
default_user: | |
name: cisco | |
password: cisco | |
chpasswd: { expire: False } | |
ssh_pwauth: True |
https://packagecloud.io/fdio/release
curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk
sudo usermod -aG vpp $USER
sudo systemctl start vpp
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity?hl=ja
Autopilot では nodeSelector で iam.gke.io/gke-metadata-server-enabled
が使えないので、 wi-test.yaml
を下記のようにする
(Autopilot ではデフォルトで iam.gke.io/gke-metadata-server-enabled
は true
になっている)
apiVersion: v1
kind: Pod
metadata:
name: workload-identity-test
* Vagrantfile | |
``` | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure('2') do |config| | |
config.vm.box = 'vyos/current' | |
config.vm.provider :libvirt do |libvirt| | |
libvirt.storage :file, size: '20G' |
package main | |
import ( | |
"fmt" | |
"net/url" | |
"os" | |
"github.com/vmware/govmomi" | |
"github.com/vmware/govmomi/property" | |
"github.com/vmware/govmomi/vim25/types" |
package main | |
import ( | |
"fmt" | |
"net" | |
"github.com/google/gopacket" | |
"github.com/google/gopacket/layers" | |
) |
# Enable BPF related things | |
CONFIG_BPF_STREAM_PARSER=y | |
CONFIG_BPF_SYSCALL=y | |
CONFIG_BPF=y | |
CONFIG_BPFILTER=y | |
CONFIG_CGROUP_BPF=y | |
CONFIG_DEBUG_INFO_BTF=y | |
CONFIG_DEBUG_INFO=y | |
CONFIG_EPOLL=y | |
CONFIG_EVENTFD=y |