-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How/where you use Rancher OS? Please share your configuration? #6
Comments
Where are you running/planning to run Rancher OS/community maintained version of it? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first) rancher:
console: ubuntu
docker:
engine: docker-19.03.11
extra_args:
- --label
- type=worker
- --label
- node=1
- --log-opt
- max-size=5m
- --log-opt
- max-file=20
- --label
- env=dev
environment:
EXTRA_CMDLINE: /init
hypervisor_service: false
network:
post_cmds:
- iptables -i eth1 -A INPUT -m state --state ESTABLISHED -j ACCEPT
- iptables -i eth1 -A INPUT -j DROP
services_include:
hyperv-vm-tools: false
state:
dev: LABEL=RANCHER_STATE
wait: true
sysctl:
fs.inotify.max_user_watches: 1048576
vm.max_map_count: 262144
runcmd:
- - mount
- -t
- ext4
- LABEL=USER_DOCKER
- /var/lib/docker
ssh_authorized_keys:
- ssh-ed25519 <key>
write_files:
- content: |+
#!/bin/bash
<some commands>
exit 0
owner: root
path: /etc/rc.local
permissions: "0755" |
Where are you running/planning to run Rancher OS/community maintained version of it? (docker-machine, AWS, GCE, baremetal, etc.) |
Where are you running/planning to run Rancher OS/community maintained version of it? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first) |
|
Where are you running/planning to run Rancher OS/community maintained version of it? (docker-machine, AWS, GCE, baremetal, etc.)
Which processor architecture you are using?
Do you use some extra hardware? (GPU, etc)?
Which console you use (default, ubuntu, centos, etc..)
Do you use some service(s) which are not enabled by default?
Have you installed some extra tools to console?
Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first) hostname: srv-hostname
rancher:
docker:
extra_args:
- -H
- tcp:https://0.0.0.0:2375
environment:
EXTRA_CMDLINE: /init
modules:
- cdc_ether
- r8152
- nfs
- nouveau
network:
interfaces:
mac=50:3e:aa:8a:f8:6f:
dhcp: true
services_include:
kernel-extras: true
kernel-headers: true
kernel-headers-system-docker: true
volume-cifs: true
state:
dev: LABEL=RANCHER_STATE
wait: true
runcmd:
- /home/rancher/restart-usb (script to restart my usb bus after boot - hoping the underlying issue is resolved in later kernels)
- mount -t cifs xxx (bunch of smb mounts here - v2.1 and v3)
ssh_authorized_keys:
- ssh-rsa xxxx |
Special request for @x-jokay @Psayker @jrevillard @etrexel @pierre-emmanuelJ @jianghang8421 @bensallen @drpebcak @mmriis I can see that you have contributed to https://github.com/rancher/os during 2019/2020 and we would like to understand your use cases so we can make sure that those works on BurmillaOS (successor of RancherOS)? You might be also interested to test our v1.9.0-beta2 version and report findings to #13 |
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using?
Do you use some extra hardware? (GPU, etc)?
Which console you use (default, ubuntu, centos, etc..)
Do you use some service(s) which are not enabled by default?
Have you installed some extra tools to console?
Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first) hostname: "sample"
rancher:
docker:
engine: docker-19.03.11
tls: true
registry_mirror: "https://registry-mirror.sample.com"
insecure_registry: ["registry-mirror.sample.com","registry.sample.com","registry-staging.sample.com"]
system_docker:
registry_mirror: "https://registry-mirror.sample.com"
insecure_registry: ["registry-mirror.sample.com","registry.sample.com","registry-staging.sample.com"]
services_include:
qemu-guest-agent: true
crontab: true
network:
dns:
nameservers:
- 192.168.1.1
- 9.9.9.9
search:
- sample.com
interfaces:
eth0:
address: 192.168.1.10/24
gateway: 192.168.1.1
dhcp: false
ssh_authorized_keys:
- ssh-rsa ... |
And if possible, would be great to have docker-compose as part of the OS available as well 👍🏼 |
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first)
|
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first)
|
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first)
|
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) AWS Which processor architecture you are using? amd64 Do you use some extra hardware? (GPU, etc)? no Which console you use (default, ubuntu, centos, etc..) debian Do you use some service(s) which are not enabled by default? no Have you installed some extra tools to console? docker-compose Do you use some other customizations? no Please share copy of your cloud-init (remember remove all sensitive data first) EXTRA_CMDLINE: /init
hostname: ip-172-31-57-67.ec2.internal
rancher:
cloud_init:
datasources:
- ec2
environment:
EXTRA_CMDLINE: /init
network:
dns: {}
resize_device: /dev/xvda
services_include:
xenhvm-vm-tools: true
state:
dev: LABEL=RANCHER_STATE
wait: true
ssh_authorized_keys:
- ... |
We install Kubenetes on RancherOS (iPXE install with ipxe script) via the Rancher RKE tools and Terraform module for Proxmox cluster. Yes we know Kubernetes will drop the Docker engine in 1.22, and we will need to replace it in near future. Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Proxmox Which processor architecture you are using? amd64 Do you use some extra hardware? (GPU, etc)? No Which console you use (default, ubuntu, centos, etc..) default Do you use some service(s) which are not enabled by default? We load ceph kernel module (rbd) via Have you installed some extra tools to console? No Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first) #cloud-config
# rancher ssh key
ssh_authorized_keys:
- "my ssh pub key"
# Install RancherOS on /dev/vda (virtio) drive
runcmd:
- sudo ros install -d /dev/vda -f -c /var/lib/rancher/conf/cloud-config.d/boot.yml
write_files:
# rc.local script running a boot time
- path: /etc/rc.local
permissions: "0755"
owner: root
content: |
#!/bin/sh
# Load Ceph support
modprobe rbd
# Rancher configuration
rancher:
network:
dns:
nameservers:
- x.x.x.x
- x.x.x.x
interfaces:
eth0:
address: x.x.x.x.24
gateway: x.x.x.1
dhcp: false
eth1:
address: x.x.x.x/24
dhcp: false |
I use RancherOS to run Rancher kubernetes cluster via rancher-agent. Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first) #cloud-config
hostname: kw-02000cccea29
rancher:
sysctl:
vm.overcommit_memory: 1
vm.panic_on_oom: 0
kernel.panic: 10
kernel.panic_on_oops: 1
kernel.keys.root_maxbytes: 25000000
network:
dns:
nameservers:
- 10.0.0.11
- 10.0.0.12
search:
- example.com
interfaces:
eth*:
dhcp: true
# RancherOS defaults to 1450, causes problems for dind(docker in docker) as the dind runs with 1500 MTU.
mtu: 1500
docker:
engine: docker-19.03.15
services_include:
qemu-guest-agent: true
services:
rancher-agent:
image: rancher/rancher-agent:v2.5.5
command: --server https://example.com --token XXX --ca-checksum XXX --worker
privileged: true
net: host
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/kubernetes:/etc/kubernetes
- /var/run:/var/run
labels:
io.rancher.os.after: docker
ssh_authorized_keys:
runcmd:
- wget -O - https://foreman.example.com/unattended/built |
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first)
|
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default?
Have you installed some extra tools to console? Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first) hostname: <hostname>
mounts:
- - <mount address>
- <mount location>
- cifs
- <mount options>,_netdev
- - <mount address>
- <mount location>
- nfs4
- _netdev
rancher:
environment:
EXTRA_CMDLINE: /init
network:
dns:
nameservers:
- <nameserver ip>
interfaces:
eth0:
dhcp: true
services_include:
/var/lib/rancher/conf/docker-compose.yml: true
open-vm-tools: true
volume-cifs: true
volume-nfs: true
state:
dev: LABEL=RANCHER_STATE
wait: true
ssh_authorized_keys:
- <my ssh key> |
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.) Which processor architecture you are using? Do you use some extra hardware? (GPU, etc)? Which console you use (default, ubuntu, centos, etc..) Do you use some service(s) which are not enabled by default? Have you installed some extra tools to console? Do you use some other customizations? Please share copy of your cloud-init (remember remove all sensitive data first) |
Where are you running/planning to run Rancher OS/Burmilla OS? (docker-machine, AWS, GCE, baremetal, etc.)
Which processor architecture you are using?
Do you use some extra hardware? (GPU, etc)?
Which console you use (default, ubuntu, centos, etc..)
Do you use some service(s) which are not enabled by default?
Have you installed some extra tools to console?
Do you use some other customizations?
Please share copy of your cloud-init (remember remove all sensitive data first)
|
Rancher OS supports quite a lot of different kind of platforms and configurations. I don't want maintain anything which no one is using so please comment to this issue using template below (copy/paste it to comment and answer to questions) and share how you currently using Rancher OS and/or you are planning to use community maintained version if that configuration would be supported.
I will then based on this feedback remove those non-used parts at least from first version and enable them back later if someone request about them later.
EDIT: Decisions made so far:
The text was updated successfully, but these errors were encountered: