kubernetes-service Questions

8

Solved

I have a local kubernetes cluster on my local docker desktop. This is how my kubernetes service looks like when I do a kubectl describe service Name: helloworldsvc Namespace: test Labels: app=hello...
Jennefer asked 2/1, 2020 at 4:34

11

Solved

Question 1 - I'm reading the documentation and I'm slightly confused with the wording. It says: ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only ...
Heavyhearted asked 6/1, 2017 at 16:2

3

Solved

When I define e.g. a deployment in Kubernetes there is a section with a list of containers and each of them contains an array of ports, e.g.: apiVersion: apps/v1 kind: Deployment spec: template: ...

2

I am using Kubernetes v1.20.10 baremetal installation. It has one master node and 3 worker nodes. The application simply served HTTP requests. I am scaling the deployment based on the (HPA) Horizon...

5

Solved

In a kubernetes deployment I specify a port like so: containers: - name: nginx image: nginx:latest ports: - name: nginx-port containerPort: 80 protocol: TCP Now in a service I can referen...
Burson asked 20/2, 2018 at 13:51

1

Solved

i have 2 pods(pod1,pod2) with 2 services(service1 links pod1, service2 links pod2) in the same namespace. Within pod1 i performed below testing. i entered into pod1 using kubectl exec ... and Invo...
Karl asked 25/4, 2022 at 14:59

2

Solved

I have a running pod that was created with the following pod-definition.yaml: apiVersion: v1 kind: Pod metadata: name: microservice-one-pod-name labels: app: microservice-one-app-label type: fr...
Wigfall asked 27/3, 2022 at 6:30

4

Solved

What I want to do is have a service in the default namespace and ingresses in my other namespaces, which point to that service. I tried implementing the service and Ingress shown below, but it didn...
Westwardly asked 12/12, 2019 at 13:43

2

I'm new to K8s and am currently using Minikube to play around with the platform. How do I configure a public (i.e. outside the cluster) port for the service? I followed the nginx example, and K8s s...
Methylal asked 1/2, 2020 at 12:47

2

Solved

By default,according to k8s documentation, Services are assigned a DNS A record for a name of the form my-svc.my-namespace.svc.cluster-domain.example. Is there a command to retrieve the full name ...
Parvis asked 2/1, 2020 at 6:55

1

Prometheus-operator seems to generate promethues-operated service which just points to Prometheus instance at port 9090. What does this service do? We define other services to point at our Promethe...

2

Solved

I was having K3s cluster with below pods running: kube-system pod/calico-node-xxxx kube-system pod/calico-kube-controllers-xxxxxx kube-system pod/metrics-server-xxxxx kube-system pod/local-path-p...

2

Solved

Here are steps to reproduce: minikube start kubectl run nginx --image=nginx kubectl expose deployment nginx --port=80 --type=ClusterIP kubectl run -i --tty --rm alpine --image=alpine --restart=Ne...
Rutilant asked 3/6, 2018 at 15:41

1

Solved

The Kubernetes Service doc shows the below explanation of how Node security groups are updated for each NLB Service. Unfortunately, I have a VPC that has 3 different CIDRs. This means that for eve...
Brinkmanship asked 1/10, 2020 at 19:15

2

Solved

I've provisioned a kubernetes cluster on my own couple of virtual machines via kubespray. Kubespray uses project-calico as default network-plugin which fits my requirements of proxying services in ...
Estebanesteem asked 19/12, 2019 at 15:41

4

I have a Bare-Metal Kubernetes custom setup (manually setup cluster using Kubernetes the Hard Way). Everything seems to work, but I cannot access services externally. I can get the list of service...
Affectionate asked 3/10, 2018 at 4:43

1

Solved

I'm new to Kubernetes. In Kubernetes why NodePort alone has a default port range from 30000 - 32767? Even if we change the default to user-defined port ranges why only 2767 ports are allowed? Pleas...

3

eks server endpoint is xxxxxxxxxxx.xxx.eks.amazonaws.com and I've created a yml file with a deployment and service object. [ec2-user@ip-]$ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)...

1

Solved

I could not find a documentation that specifies how Kubernetes service behaves when the affiliated deployment is scaled with multiple replicas. I'm assuming there's some sort of load balancing. Is...

1

I am trying to create a service for a set of pods based on certain selectors. For example, the below get pods command retrieves the right pods for my requirement - kubectl get pods --selector pro...
Bronwynbronx asked 18/11, 2019 at 15:16

2

In some cases, we have Services that get no response when trying to access them. Eg Chrome shows ERR_EMPTY_RESPONSE, and occasionally we get other errors as well, like 408, which I'm fairly sure is...
Overstay asked 3/8, 2018 at 12:23

1

Solved

I plan to deploy 2 kubernetes pods with a NodePort service to expose them into the network. Now i want pod 1 be able to access the pod 2 by his service. The Problem is i write the Deployment file...
Cardiogram asked 23/8, 2019 at 12:21

4

Solved

I have an application that is internal and exposed only to other application on the cluster by a service with cluster IP. Other services are accessing this application via it's DNS (serviceName-nam...

2

I have a setup Metallb as LB with Nginx Ingress installed on K8S cluster. I have read about session affinity and its significance but so far I do not have a clear picture. How can I create a singl...

5

Solved

I have a MySQL database pod with 3 replicas.Now I'm making some changes in one pod(pod data,not pod configuration), say I'm adding a table.How will the change reflect on the other replicas of the p...
Tangency asked 12/3, 2019 at 4:22

© 2022 - 2024 — McMap. All rights reserved.