kops

Kube-proxy or ELB “delaying” packets of HTTP requests

三世轮回 提交于 2021-02-17 21:55:21
问题 We're running a web API app on Kubernetes (1.9.3) in AWS (set with KOPS). The app is a Deployment and represented by a Service (type: LoadBalancer) which is actually an ELB (v1) on AWS. This generally works - except that some packets (fragments of HTTP requests) are "delayed" somewhere between the client <-> app container. (In both HTTP and HTTPS which terminates on ELB). From the node side : ( Note: Almost all packets on server-side arrive duplicated 3 times ) We use keep-alive so the tcp

TLS doesn't work with LoadBalancer backed Service in Kubernetes

旧时模样 提交于 2021-02-05 09:32:29
问题 I am trying to expose an application in my cluster by creating a service type as load balancer. The reason for this is that I want this app to have a separate channel for communication. I have a KOPS cluster. I want to use AWS's network load balancer so that it gets a static IP. When I create the Service with port 80 mapped to the port that the app is running on everything works but when I try to add port 443 it just times out. Here is the configuration that works - apiVersion: v1 metadata:

Kubernetes: Combining a Kops cluster to an on-premise Kubeadm cluster

十年热恋 提交于 2021-02-05 07:44:48
问题 We currently have 2 Kubernetes clusters: One setup with Kops running on AWS One setup with Kubeadm running on our own hardware We want to combine them to only have a single cluster to manage. The master could end up being on AWS or on our servers, both are fine. We can't find a way to add nodes configured with one cluster to the other. kubeadm is not made available on nodes setup with Kops, so we can't do eg kubeadm token create --print-join-command Kops doesn't seem to have utilities to let

Argo Workflow distribution on KOPS cluster

[亡魂溺海] 提交于 2021-01-07 02:34:00
问题 Using KOPS tool, I deployed a cluster with: 1 Master 2 slaves 1 Load Balancer Now, I am trying to deploy an Argo Workflow, but I don't know the process. Will it install on Node or Master of the k8s cluster I built? How does it work? Basically, if anyone can describe the functional flow or steps of deploying ARGO work flow on kubernetes, it would be nice. First, I need to understand where is it deployed on Master or Worker Node? 回答1: Usually, kops creates Kubernetes cluster with taints on a

Argo Workflow distribution on KOPS cluster

泄露秘密 提交于 2021-01-07 02:33:21
问题 Using KOPS tool, I deployed a cluster with: 1 Master 2 slaves 1 Load Balancer Now, I am trying to deploy an Argo Workflow, but I don't know the process. Will it install on Node or Master of the k8s cluster I built? How does it work? Basically, if anyone can describe the functional flow or steps of deploying ARGO work flow on kubernetes, it would be nice. First, I need to understand where is it deployed on Master or Worker Node? 回答1: Usually, kops creates Kubernetes cluster with taints on a

Create kubernetes EC2 cluster on aws using kops

故事扮演 提交于 2020-05-09 17:06:42
问题 I am trying to setup a kubernetes cluster on AWS with EC2 instances; it is supposed to be pretty straight forward. Initially started with kubeadm and I ran into problems Setup Kubernetes (version 1.18) cluster on AWS EC2 There was a suggestion to use kops and I started with kops; I am running into problems again I need to create kops create secret with the ssh public key The key has been generated and available in /home/ubuntu/.ssh/id_rsa.pub however I get the following error ubuntu@ip-10-0-1

Unable to update kops cluster - DNS lookup error

a 夏天 提交于 2020-03-24 03:23:41
问题 error doing DNS lookup for NS records for "kubernetes.xxxx.xxx": lookup kubernetes.xxxxxxxx.xxx on 10.0.2.3:53: read udp 10.0.2.15:56154->10.0.2.3:53: i/o timeout only my kops update cluster throws the following all other commands looks fine here is my kops validate cluster Using cluster from kubectl context: kubernetes.xxxx.xxx Validating cluster kubernetes.xxxxxx.xxxx INSTANCE GROUPS NAME ROLE MACHINETYPE MIN MAX SUBNETS master-xxx-xxxx-1a Master t2.micro 1 1 xx-xxxxx-1a nodes Node t2.micro

Kubernetes - services without selector

醉酒当歌 提交于 2020-01-21 19:18:32
问题 I'm struggling with Kubernetes' service without a selector. The cluster is installed on AWS with the kops. I have a deployment with 3 nginx pods exposing port 80: apiVersion: apps/v1 kind: Deployment metadata: name: ngix-dpl # Name of the deployment object labels: app: nginx spec: replicas: 3 # Number of instances in the deployment selector: # Selector identifies pods to be matchLabels: # part of the deployment app: nginx # by matching of the label "app" template: # Templates describes pods

Why kubernetes scheduler ignores nodeAffinity?

丶灬走出姿态 提交于 2020-01-16 19:04:09
问题 I have a kubernetes cluster version 1.12 deployed to aws with kops The cluster has several nodes marked with a label 'example.com/myLabel' that takes the values a, b, c, d For example: Node name example.com/myLabel instance1 a instance2 b instance3 c instance4 d And there is a test deployment apiVersion: apps/v1 kind: Deployment metadata: name: test-scheduler spec: replicas: 6 selector: matchLabels: app: test-scheduler template: metadata: labels: app: test-scheduler spec: tolerations: - key:

Recover kops Kubernetes cluster

北城余情 提交于 2020-01-15 05:07:07
问题 There's a kubernetes cluster that was created by kops and when running kops validate this is the output: INSTANCE GROUPS NAME ROLE MACHINETYPE MIN MAX SUBNETS master-us-east-1a Master m4.xlarge 1 1 us-east-1a nodes Node c4.2xlarge 1 75 us-east-1a NODE STATUS NAME ROLE READY ip-172-20-59-93.ec2.internal master False VALIDATION ERRORS KIND NAME MESSAGE Machine i-0a44bbdd18c86e846 machine "i-0a44bbdd18c86e846" has not yet joined cluster Machine i-0d3302056f3dfeef0 machine "i-0d3302056f3dfeef0"