Here's how to make sure docker and kubelet use same cgroups driver by explicitly configuring both:
Docker:
$ cat /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=cgroupfs"]
}
version: '3.5' | |
x-env: &env-common | |
COMMON_VALUE: "my-common-value" | |
x-service: &service-common | |
network_mode: host | |
environment: | |
<<: *env-common |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "s3", | |
"Effect": "Allow", | |
"Action": [ | |
"dynamodb:PutItem", | |
"dynamodb:DeleteItem", | |
"dynamodb:GetItem" |
backportpackage -u ppa:mozgiii/iscsi -s bionic -d xenial python-rtslib-fb | |
backportpackage -u ppa:mozgiii/iscsi -s bionic -d xenial python-configshell-fb | |
backportpackage -u ppa:mozgiii/iscsi -s bionic -d xenial targetcli-fb |
#!/bin/sh | |
# Run | |
# chown root:root per_device_routing_tables.sh | |
# chmod 700 per_device_routing_tables.sh | |
# | |
# or NM will refuse to run the script. | |
# Then move the script to /etc/NetworkManager/dispatcher.d | |
export PATH="/bin:/sbin:/usr/bin:/usr/sbin" |
Here's how to make sure docker and kubelet use same cgroups driver by explicitly configuring both:
Docker:
$ cat /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=cgroupfs"]
}
run findfdt | |
run bootcmd_dhcp |
#!/bin/bash | |
pvcreate /dev/sda3 | |
vgextend localhost-vg /dev/sda3 | |
lvextend /dev/localhost-vg/root -l +100%FREE | |
resize2fs /dev/mapper/localhost--vg-root |
# ... | |
def load_file(file); eval(File.read(file), binding, file); end | |
load_file '/etc/gitlab/gitlab-custom.rb' |
#!/usr/bin/env ruby | |
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | |
ENV["BUNDLE_IGNORE_CONFIG"] = 'true' | |
install_only = ARGV.to_a.map(&:to_sym) | |
install_only = [:host] if install_only.empty? | |
require 'bundler' | |
Bundler.configure |
#!/usr/bin/env python3 | |
import sys | |
import os | |
if len(sys.argv) < 2: | |
print("Usage: %s [stream_name | http://stream_url]" % sys.argv[0]) | |
sys.exit(2) | |
stream_url = sys.argv[1] | |
if not stream_url.startswith('http://') and not stream_url.startswith('https://'): |