Questions tagged [networking]
The networking tag has no usage guidance.
78
questions
0
votes
1answer
10 views
Limit throughput between Jenkins and Jenkins Agent
I am trying to find a way to throttle the thruput on the request of our Network folks. They want me to not exceed 5.5Mb/sec. Is there a way to do this within Jenkins. Looking at the config files under
...
0
votes
0answers
5 views
Does a SSL certificate chain require a root certificate in the chain? [closed]
I'm working on an integration with a clients application where SSL seems to be failing after the client updated their certificate for their development environment. Curl returns errors relating to ...
0
votes
2answers
19 views
Service to service communication - through proxy or direct?
A common scenario is two or more services behind a reverse proxy, typically each deployed in a container:
| service 1 | | service 2 |
\ /
\ /
...
0
votes
0answers
14 views
Kubernetes workers outside the SDDC cloud not connect to the masters
Please help us with the following problem:
We are using calico from https://docs.projectcalico.org/manifests/calico.yaml to setup Kubernetes network on SDDC cloud. The masters are inside the cloud, ...
0
votes
1answer
38 views
How to create a local network mapping in linux
I'm deploying nextcloud via docker, however the way the configuration is set up, it creates a subnetwork at 10.10.10.0/24 on the system it's running on instead of running it on 127.0.0.1. Then the ...
0
votes
0answers
14 views
How to make sure K8S nodes only communicate via private network
I have the following setup:
master and worker node are connected via eth0 to the internet and via enp7s0 to a local newtork (IP's 10.0.0.2 and 10.0.0.3).
I have installed K8S with flannel as ...
0
votes
0answers
29 views
How to make docker look for a port on another machine?
I have a docker containing AMQP(an open-source message broker). The docker-compose file is :
services:
mom:
image: vromero/activemq-artemis:2.15.0-alpine
restart: unless-stopped
ports:
...
1
vote
1answer
22 views
AWS Inspector “High Risk” : port open to the internet with IP whitelisting
We use AWS Inspector to identify risks with our AWS assets. Today I received a finding, with a "high" severity. The finding said that the FTP port was open to the internet. However, after ...
-1
votes
1answer
41 views
Cannot resolve services with service name inside a kubernetes pod
I cannot access a pod from another pod with its service name. Getting error as
cannot resolve host svcname
When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
2
votes
1answer
34 views
Why I cannot access k3s service from pod in rasbian?
I have installed K3S kubernetes on rasbian, and created a following mysql deployment on it:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mysql-data
spec:
accessModes:
- ...
0
votes
0answers
34 views
How should Kubernetes worker nodes get the correct /run/flannel/subnet.env file?
I am using Kubectl 1.20.2 on the client side and 1.18.9 on the server side. I have deployed EKS, and I have created a cluster. The pods never become ready unless I manually log into the worker nodes ...
0
votes
1answer
70 views
Isolate service networks with Docker Compose
I have two containerised services, A and B, with which I wish to isolate network communications with docker compose. There is also a shared service C which is not isolated from A or B and is free to ...
0
votes
0answers
26 views
Integration testing of multiple containers via docker in docker
About a year ago we set up a gitlab-pipeline to integration-test a bunch of interacting containers. The whole test is steered from a pytest based script which starts/stops individual containers and ...
3
votes
1answer
70 views
K8s cluster in peered VPC can't reach RDS cluster
I have two K8s clusters in the same VPC that I want to connect to an MySQL
Aurora RDS cluster. One of the clusters can reach the RDS cluster just fine.
The other, however, cannot. I'll call these eks-...
0
votes
0answers
12 views
docker kali linux container: wireless card is seen as eth0
So, I installed kali linux with command:
docker pull kalilinux/kali-rolling
Then I installed net-tools to do ifconfig.
ifconfig shows eth0, lo (loopback), but no wifi card.
Why docker sees my wifi ...
0
votes
0answers
14 views
How to troubleshoot Pod-to-Pod communication cross nodes?
Prerequisite:
I use VirtualBox to setup 2 VMs. VirtualBox version is 6.1.16 r140961 (Qt5.6.2). The OS is CentOS-7(CentOS-7-x86_64-Minimal-2003.iso).
One VM as kubernetes master node, named k8s-...
0
votes
1answer
17 views
iptables rules to permit GitHub Actions from breaking (chains default to DROP)
Assuming my iptables rules default to DROP on the INPUT and OUTPUT chains, what is the bare minimum set of rules that I must add to my chains to prevent a script running in GitHub Actions from ...
2
votes
2answers
1k views
Join a Linux Docker swarm with a local Windows Docker for test purposes
I'm currenlty trying to connect/join a Linux Docker Swarm cluster with my Windows machine in order to test a stack without sending the stack over and over to my test cluster under Linux. My problem is ...
0
votes
0answers
35 views
Private EKS behind corporate Proxy - with Terraform
I have built a private EKS cluster, im now going through the motions of trying to attach a Managed Node group to the cluster using Terraform.
Looking through lots of resource the Node group required ...
0
votes
0answers
12 views
Can I connect a PC/Mobile from my house and be able to see/connect WiFi networks around the PC/Mobile?
I’m not sure if it’s the exact place so lemme know if I need to move it,
my question is this,
Can I connect a PC/mobile lets say in location 1 with my PC and see the WiFi networks in location 2 of PC/...
1
vote
0answers
30 views
How to execute a “hello redis” sample python script on a container from the host?
How do I execute this "Hello Redis!!!" sample from the host?
root@mordor:~#
root@mordor:~# docker container ls
CONTAINER ID IMAGE COMMAND CREATED ...
0
votes
1answer
31 views
why is “docker run” used to connect to redis?
Trying to understand what's happening here:
root@mordor:~#
root@mordor:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
0
votes
0answers
18 views
Topology and configuration of MySQL client and server containers
Perhaps I'm using MySQL in an unusual way. I was thinking of just having alice and bob containers, where the console client is used on one to query the other.
I'm probably using MySQL in an obscure ...
0
votes
0answers
58 views
Is the MySQL Command-Line Client on alpine or another minimalist container?
This seems not wholly unreasonable:
root $
root $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root $
root $...
0
votes
2answers
61 views
How do I make a redis container accessible through bridge networking from the host?
I'd like to be able to connect directly to the redis container below:
root $
root $ docker images redis
REPOSITORY TAG IMAGE ID CREATED SIZE
redis ...
0
votes
1answer
525 views
how to connect to a MySQL database in a docker container?
starting up the default mysql server:
root $
root $ docker run --name mysql -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysql/mysql-server:latest
...
1
vote
1answer
772 views
docker-compose up: Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
specific error:
ERROR: for traefik Cannot start service traefik: driver failed programming external connectivity on endpoint frappe_docker_traefik_1 (...
1
vote
1answer
39 views
How can I access port 80 of another container, when port 80 is already exposed?
I have a docker file that runs some integration tests between two containers. It looks a bit like this:
version: '3'
services:
test_client:
image: client:latest
depends_on:
...
0
votes
2answers
66 views
Minecraft docker-container refuses connection
So I have this Dockerfile:
FROM openjdk:8u212-jre-alpine
LABEL maintainer "cowboy_patrick"
RUN apk add --no-cache -U \
openssl \
imagemagick \
lsof \
su-exec \
shadow \
bash \
...
4
votes
1answer
3k views
How to fix a “heartbeat failure” in Docker Swarm?
My cluster is currently located in a single data center. I've been trying to change that by adding a single worker node from another data center, but so far it hasn't worked.
I'm able to make this ...
1
vote
1answer
5k views
External access to internet from Kubernetes Pods
I'm having troubles with network access from pods. I had installed new Kubernetes cluster with flannel-network plugin,
Checking the health of server - good.
I tried to check network via busybox: ...
0
votes
2answers
158 views
How to Save and Restore the Iptables rule and configuration from file?
I want to save the current iptables configuration to a file and restore it from a file.
I have a lot of rules and modifying the rules really hard for me.
So, how can i do that?!
1
vote
1answer
38 views
Sending HTTP requests to private EC2 DNS from other EC2 host works, but not from container on EC2 host
I want to make a container hosted on one EC2 host communicate with another container hosted on another EC2 host.
Currently, if I send an HTTP request from host A to host B using host B's private DNS ...
1
vote
1answer
29 views
How to create a second IP just for dockers
Problem: my server is already using port 80 and I would like launch another service that uses port 80 on another address (I don't want to remember ports or force my wife to use non-default ports).
I'...
1
vote
0answers
42 views
Can't set up basic k3s cluster on raspberry pi setup
I apologize in advance if this is trivial as I am an undergrad and quite new to kubernetes, raspberry pis, and networking in general. I only included the fact I am working on Raspberry Pi for ...
1
vote
1answer
75 views
Mapping Outbound IPs to 1 IP in Azure App Services
I have 3 components of my architecture running in 3 separate Azure App Services. Each app service has 4 outbound IPs. So whenever I have to deploy my app onto the client's premise, I have to whitelist ...
0
votes
1answer
103 views
Blacklist network ranges Docker is allowed to use for its containers (swarm mode)
Basically I need to blacklist an IP range (and maybe multiple ranges) so that Docker can use any other IPs for its containers BUT IPs in this range.
Assume I have my docker nodes in a swarm of n ...
1
vote
1answer
47 views
How do I setup an OpenShift route that will allow both 80 and 443 traffic to my app?
I'd like to setup a route that will pass both 80 and 443 traffic to the same service in OpenShift. When I try to create a second route it errors out. I want this to be in a yaml like would be used ...
2
votes
2answers
155 views
Does Kubernetes internal networking keep traffic to co-located Pods where possible?
In Kubernetes, if I run a Service Foo on every Node, and also Service Bar on every Node, i.e. with DaemonSets. If a Pod from Service Foo needs to make a request to Service Bar, does Kubernetes ...
11
votes
6answers
22k views
How to get kubernetes pod network CIDR
I have a running k8s cluster initialized with kubeadm.
On initialization, I did not pass the option --pod-network-cidr
How do I get the CIDR of the pod network
I tried
Looking at the /etc/...
2
votes
2answers
925 views
Docker won't create a bridge network without being given an explicit subnet
The problem
The problem is that this happens:
$ docker network create alpine4
Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign ...
1
vote
1answer
36 views
Kubernetes: How to expose a Pod/Deployment to the Nodes Network
Ok, let's assume I've got the following theoretical setup:
I want to somehow assign IP-Addresses accessible by the PCs on the left to my pods. I can set routes etc. as I need since this setup is ...
2
votes
2answers
153 views
localhost Pod to Pod communication k8s
I am trying to transfer an old legacy system to k8s.
I have a custom server that client apps connect to in order to communicate with one another. Both the server and clients were originally created ...
2
votes
0answers
20 views
Connecting to MySQL Remotely on Azure VM
I am having trouble connecting remotely to my MySql install that runs on an Azure VM.
Here is what I did:
Ubuntu VM with MySql 5.7 installed
Bind Address set to 0.0.0.0
User granted rights with ...
0
votes
1answer
298 views
How to connect to postgres container from a node container using docker-compose?
I'm trying to connect from a node app container to a postgresql container using docker-compose but I'm not able to do it.
This is my docker-compose.yml file:
version: '3.7'
services:
db:
image: ...
4
votes
1answer
1k views
Bridged network adapter for Packer + VirtualBox?
So,
I load an .ova image with packer of a minimal ubuntu linux installation.
I realized after everything went through (Provisioners etc) and it successfully exported the output file. However, when ...
1
vote
1answer
260 views
Kubelet config file — > clusterDNS
clusterDNS:
- "10.32.0.10"
The above is a flag passed to the kubelet file, i dont know what it refers to clsuter DNS ? Is it refers to VPC CIDR or any subnet CIDR ?
2
votes
1answer
136 views
Check connectivity of 5000 + servers from ansible and get list of hosts which are connectable and which are not
I need to check connectivity of hosts on port 43. I can manually login and check connectivity by:
nc -v `hostname` 43
nc -v `hostname_1` 43
Is there any ansible script that goes through all the ...
0
votes
1answer
224 views
container on same network with host
Our application is a combination of 4 different applications. The graphics part is running on a host and other 3 applications are running on 3 different VMs. Which uses bridge networking.
eg. ...
1
vote
1answer
240 views
Docker bridge network Configuration for containers
I have an Angular application deployed in the container . If I log in to the container I can curl to the port 4200.
I have mapped to port 9001 to connect from my host .
But I can't curl from my host ...