Questions tagged [coreos]
CoreOS provides a new server operating system for running thousands of servers themselves.
593
questions
0
votes
1
answer
28
views
Kubelet change cgroupsdriver to systemd [closed]
Despite of passing multiple parameters to Kubelet service and Kubelet config file it still starts with cgroupfs driver. Instance is being launched in AWS on Flatcar Container Linux 3139.2.1. Kubelet ...
-1
votes
1
answer
43
views
How to rename/change network interface name on RedHat Core OS?
I have installed Red Hat core os network interface name and my network interface name comes as ens1f1,ens1f2..etc. I want to change/rename it to eth1, eth2. How can I achieve this?
sh-4.4# ifconfig
...
0
votes
0
answers
196
views
ETCDCTL set returns "Error: context deadline exceeded" after the value exceeds certain number of characters
The etcd cluster is created using API version 2 and etcdctl API version used is also 2.
ETCDCTL_API=2 etcdctl set testlong6 "...
-1
votes
1
answer
82
views
Change from RHEL 7.7 to RHCOS
I would like to get started with OpenShift 4.7 (for the first time) and therefore need to update my OS from RHEL 7.7 to RHCOS.
I tried to search for some help but it is still not clear to me what to ...
1
vote
1
answer
2k
views
Why is Podman trying to pull an image that already exists after loading from file?
I am working in an air-gapped environment running Fedora CoreOS which comes packaged with Podman. I have several container images I have been working on transporting into the air-gapped environment. ...
0
votes
1
answer
232
views
What method of password hashing should I use for CoreOS ignition file?
I am attempting to install CoreOS for the first time and am currently working my way through the initial FCC file which will be transpiled into the ignition file.
The Fedora CoreOS FCCT Specification ...
5
votes
5
answers
6k
views
Containers not restarted after update with restart always in docker-compose.yml
I have some containers which all of them have the always restart value in the docker-compose file like this:
version: "3.7"
services:
container:
image: ghost:latest
container_name:...
1
vote
3
answers
1k
views
CoreOS Image fails to load ignition file via libvirt (permission denied)
I'm testing out a new network config using VM's and got libvirt and qemu setup on my system. Following the documentation for Fedora CoreOS to help get started.
Steps Taken
I've updated my user to be ...
2
votes
1
answer
3k
views
Terraform: Passing JSON file as environment variable value with a systemd unit file inside docker container
I am trying to pass json in an environmental variable of a systemd unit file with terraform. I am using an external provider named CT to generate ignition from the YAML configuration.
CT Config:
data &...
0
votes
0
answers
51
views
coreos : curl http://matchbox.example.com:8080 connection refused
I am trying to boot using ipxe and for that I am using matchbox from CoreOS. Normally http://matchbox.example.com:8080 should return "Matchbox" but for me it is giving "Connection refused" . I can dig ...
0
votes
2
answers
900
views
Using HAProxy in docker with host network
When running HAProxy in a docker container, we can only see (and forward) the original client's IP when running the container with the --net=host option as described here.
Our question: Is this ...
0
votes
1
answer
109
views
Google Cloud CoreOS OEM differences
So, as CoreOS Container Linux has been end-of-life'd, I've switched both my Google Cloud VMs over to Flatcar Linux, using the in-place upgrade method (I want to avoid having to rebuild the base ...
0
votes
1
answer
855
views
Openshift 4.3 Baremetal Installation
1. What I've tried
I want to make ocp cluster (actually, single node-all in one) like this blog
link : openshift.com/blog/revamped-openshift-all-in-one-aio-for-labs-and-fun
and I also referred to ...
0
votes
1
answer
92
views
GCE on Container + CloudSQL
When creating an instance template with a container and running it on GCE, what's the recommended way to connect to a CloudSQL instance from the container?
GCE doesn't allow you to expose ports, and ...
6
votes
2
answers
2k
views
Access to docker.socket using SELinux in FCOS
Intro
Greetings,
Since a week I'm trying to setup a FCOS (Fedora CoreOS) and running a Docker Swarm along with SELinux (this is my first experience with SELinux)
Containers is running great but ...
5
votes
2
answers
7k
views
Kubernetes cluster "cni config uninitialized"
The problem i'm running into is very similar to the other existing post, except they all have the same solution therefore im creating a new thread.
The Problem:
The Master node is still in "NotReady"...
0
votes
1
answer
138
views
Ignition fails because group already exists
I'm trying to create a user and group with Terraform but when I run the instance via CoreOS it fails with the error:
[ 298.037882] ignition[2052]: files: createGroups: op(1): [failed] adding group ...
1
vote
0
answers
17
views
TITLE Search cve scanner for coreOs
I search a scanner for "cve" , to scan coreOS ( host , not containers ).
do you know any ?
Big thanks.
0
votes
1
answer
3k
views
ETCD key "value" size limit
I am new to ETCD and I wanted to know that if there is a size limit for a value that can be stored in ETCD?
2
votes
0
answers
619
views
Openshift 4.2 on VMware Vsphere, Loadbalancer Configuration and Understanding
Recently I have tried to install openshift 4.2 on VMWare and followed this documentation https://blog.openshift.com/openshift-4-2-vsphere-install-with-static-ips/ so I was able to install it ...
2
votes
1
answer
909
views
apt-get command not found in coreOS (cos)
I would like to install tools in my cluster VM to debug, like dnsutils or mysql to test connections.
My cluster VM use container optimized OS (cos).
Whenever I try
apt-get update
I got an error
-...
1
vote
1
answer
6k
views
kube-api server is not starting (CrashLoopBackOff)
i am unable to start the kube-apiserver on my 1 master node cluster. the kubelet keeps on trying to start the service but get all the time CrashLoopBackOff.
i tried to run the container using the ...
0
votes
1
answer
135
views
How to set a CoreOS cluster on VirtualBox?
I would like to set a coreOS cluster on VirtualBox. I have read the coreOS documentation in the oficial site and it is said I have to boot each virtual machine with the same configuration and they ...
2
votes
1
answer
382
views
Ceph RBD in CoreOS
I am working on a platform which my company can use to host containerized application for out own purposes.
We use the following solution: PXE server -> PXE boot CoreOS -> Docker -> Ceph cluster in ...
1
vote
1
answer
410
views
Remove "Login with email" from Dex WebUI
I have been using CoreOS Dex to integretae my K8s apps with LDAP.
I have configured only LDAP as one of connectors whereas while redirecting it to Dex, I get an option as below:
to login with email ...
0
votes
1
answer
967
views
coreos ip_conntrack_tcp_be_liberal parameter change
to be able to apply the solution described in https://kubernetes.io/blog/2019/03/29/kube-proxy-subtleties-debugging-an-intermittent-connection-reset/ I need to find a way instead of "echo 1 > /proc/...
-1
votes
1
answer
70
views
How can I run the Cassandra service on a CoreOS VM with kubectl?
I am trying to create a CoreOS cluster to run Cassandra's instances. In order to do that I have been trying to install the Cassandra service only in one VM.
My Cassandra.service file is this
[Unit]
...
0
votes
2
answers
136
views
can't change the sshd's prot in CoreOS
System release: CoreOS 2135.5.0
Kernel: 4.19.50-coreos-r1
System install way: vmware
When I change the port in the sshd.service,it displays:
CoreOS-234 ssh # echo "Port 10000" >> /usr/...
0
votes
1
answer
88
views
How can I run Cassandra on a CoreOS virtual machine?
I'm trying to install Cassandra on a CoreOS virtual machine. I have read that before launching the Cassandra docker container, I have to start the Cassandra service on CoreOS, through a Cassandra....
0
votes
2
answers
956
views
How to deploy my Cassandra cluster with Kubernetes
I have tried to install Cassandra on my Kubernetes cluster. After executing the commands
kubectl apply -f Cassandra-service.yaml
and
kubectl apply -f cassandra-statefulset.yaml
I have no errors, ...
-1
votes
1
answer
201
views
Expose container to internet on coreos
I have a container for a web application with the 80 port bind to the host on the same port. The host runs with coreos distribution.
The server has a public address, and if I ping on it from a device ...
-1
votes
1
answer
616
views
CoreOS - expose host ports to VPN
I run docker Openvpn container in CoreOS:
docker run --cap-add NET_ADMIN --device /dev/net/tun ...
Container connects to VPN as client and other VPN clients can ping the container. It runs normal ...
0
votes
1
answer
176
views
public and private IP address of nodes on single computer kubernetes on coreos
While I am trying to generate and assign rsa keys to worker nodes from master node, one confusion I am having is what the assigned IPs should be or how I should configure network for each node(virtual ...
0
votes
1
answer
467
views
Is it possible to disable spectre/meltdown/related patches on coreos?
Is it possible to disable Spectre and Meltdown patches on later builds of CoreOS? At my company we are running an entirely internal Kubernetes computer cluster, and are looking to get the performance ...
2
votes
1
answer
200
views
Build argument in quay.io
I have set up a private repo in quay.io
Also, set up a build trigger which is working as expected.
The only problem I'm facing is with the build argument.
My Dockerfile requires a build argument and ...
-2
votes
1
answer
48
views
Backup docker volume on a broken system. Volume recovery
I have a server that's been running in docker on coreos. For some reason containerd has stopped running and the docker daemon has stopped working correctly. My efforts to debug haven't gotten far. I'd ...
0
votes
1
answer
2k
views
storageos ls: cannot access 'volumes': Transport endpoint is not connected
I am trying to clean up and redeploy storageos but somehow I got to this weird error.
slave1 storageos # pwd
/var/lib/storageos
slave1 storageos # ls -la
ls: cannot access 'volumes': Transport ...
0
votes
1
answer
445
views
Mounting AWS EBS into CoreOS
I have launched an EC2 instance with 100Gb EBS as https://coreos.com/os/docs/latest/booting-on-ec2.html docs.
#cloud-config
coreos:
units:
- name: media-ephemeral.mount
command: start
...
2
votes
1
answer
229
views
Networking in Kubernetes
I'm a newbie when it comes to Kubernetes and the thing I am struggling to understand is the network address that I pass into the command kubeadm init --apiserver-advertise-address=$ip if I have two ...
2
votes
1
answer
2k
views
Slow mounting of Docker volumes with large number of files on Linux
We are experiencing some very strange behaviour when mounting volumes with large amount of data (e.g a million files )
The current setup:
Docker host: Container Linux by CoreOS 1465.7.0 (Ladybug)
...
11
votes
3
answers
12k
views
etcdctl throws Error: context deadline exceeded error
I'm trying to create a one node etcd cluster on AWS using coreos cloud-config. I have created a Route53 recordset with value etcd.uday.com which has a alias to the ELB which points to the ec2 instance....
1
vote
0
answers
59
views
fgets() crashes in coreos
I have this C code snippet which runs on a coreOS machine:
char db[512];
snprintf(db, 512, "%s %s", <some command>, <args of the command>);
FILE* pipe = popen(db, "r");
if (!pipe) {
...
1
vote
2
answers
8k
views
ERROR: In file './docker-compose.yml', service name True must be a quoted string, i.e. 'True'
My docker-compose.yml looks like the below. When i run docker-compose up I get the below error.
ERROR: In file './docker-compose.yml', the service name True must be a quoted string, i.e. 'True'.
...
50
votes
4
answers
75k
views
How to create a ServiceMonitor for prometheus-operator?
Recently, prometheus-operator has been promoted to stable helm chart (https://github.com/helm/charts/tree/master/stable/prometheus-operator).
I'd like to understand how to add a custom application ...
2
votes
1
answer
539
views
How do I install LogZilla NEO on CoreOS?
When I try to install LogZilla NEO (docker based) on CoreOS, I get:
docker run logzilla/kickstart -p >/usr/bin/logzilla; chmod 755 /usr/bin/logzilla; logzilla install
-bash: /usr/bin/logzilla: ...
2
votes
2
answers
858
views
New master with new etcd volume do not join in the cluster
I am using KOPS and I have a cluster with 3 masters. I deleted one master and the disks (root disk and etcd disks(main and events)).
Now kops recreated this master and the disks, but this new master ...
3
votes
3
answers
2k
views
how can I prevent systemd-networkd from sending client identifier?
I have a machine with CoreOS 1800(or 1855) installed onto disk, and with following systemd-networkd config (there is only one network interface in the machine):
$ cat /etc/systemd/network/zz-default....
1
vote
0
answers
116
views
Quay.io API image build
I am unable to build any image using quay REST API.
The only error I can see is:
Could not find or parse Dockerfile: First line in Dockerfile isn't FROM.
The dockerfile builds fine using other ...
1
vote
1
answer
141
views
On OS (CoreOS) restart Docker starts multiple containers
I have my customer Docker container on a CoreOS OS host. I start my container using the docker run command as. follows:
docker run -d --restart always --net=host -p 8080:8080 --log-opt max-size=2mb ...
1
vote
2
answers
634
views
IPFS public node in a Docker container?
I'm attempting to set up an IPFS server on my home network. I have a CoreOS box that I'd like to get up and running with it. Since CoreOS focuses on Docker containers, that's the setup I've got.
I ...