seanknox / aztack Goto Github PK
View Code? Open in Web Editor NEWTerraform module for creating Kubernetes clusters running on Azure
License: Apache License 2.0
Terraform module for creating Kubernetes clusters running on Azure
License: Apache License 2.0
Hi,
I am just trying to get "make build" running. There is an error with cfssl. How to avoid this?
docker build -t aztack .
Sending build context to Docker daemon 637.4kB
Step 1/12 : FROM golang:1.9
---> ef89ef5c42a9
Step 2/12 : RUN go get -u github.com/dgrijalva/jwt-go/cmd/jwt
---> Using cache
---> 0a0a6da8c447
Step 3/12 : RUN go get -u github.com/cloudflare/cfssl/cmd/...
---> Running in e829a2adc0f7
# github.com/cloudflare/cfssl/csr
src/github.com/cloudflare/cfssl/csr/csr.go:272:26: cert.URIs undefined (type *x509.Certificate has no field or method URIs)
src/github.com/cloudflare/cfssl/csr/csr.go:387:7: tpl.URIs undefined (type x509.CertificateRequest has no field or method URIs)
The command '/bin/sh -c go get -u github.com/cloudflare/cfssl/cmd/...' returned a non-zero code: 2
make: *** [prereqs] Error 2
Pods can hit other pods, but cannot reach hosts on the internet. Nodes and controllers can, however.
May be related to #2
Using runc, pods cannot reach cluster service IPs (10.0.0.0/16), including apiserver at 10.0.0.1. Nodes can reach service IPs, however.
May be related to #1
To repro:
$ kubectl run -it --image ianneub/network-tools nettools bash
If you don't see a command prompt, try pressing enter.
root@nettools-69f59c45fc-ghzmf:/# curl --connect-timeout 10 -k https://10.0.0.1
curl: (28) Connection timed out after 10000 milliseconds
curl'ing from a node does work, however:
CLUSTER_NAME=containerd2nics make ssh hostname=node1
Agent pid 56185
Identity added: .keypair/containerd2nics/containerd2nics.pem (.keypair/containerd2nics/containerd2nics.pem)
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-39-generic x86_64)
...
ubuntu@node1:~$ curl -k https://10.0.0.1
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401
Creation errors with:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal EnsuringLoadBalancer 11s service-controller Ensuring load balancer
Warning CreatingLoadBalancerFailed 4s service-controller Error creating load balancer (will retry): failed to ensure load balancer for service default/nginx: [ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller2 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]", ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller3 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]", ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller1 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]"]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.