errm / ekstrap Goto Github PK
View Code? Open in Web Editor NEWBootstrap for EKS, no longer maintained!
License: Apache License 2.0
Bootstrap for EKS, no longer maintained!
License: Apache License 2.0
At some point AWS made a change to change the IP address of the Cluster DNS service to 172.20.0.10 for clusters running anywhere in the 10.0.0.0/8 range
There should be some example packer configs to build working AMIs
Not sure if they belong in this repo or somewhere else?
Currently, running ekstrap
outside of AWS EC2 returns the following error message:
2018/06/25 19:29:45 InvalidEndpointURL: invalid endpoint uri
caused by: parse https://ec2.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="no-cache" http-equiv="Pragma" />
<title>Waiting...</title>
<script type="text/javascript">
var pageName = '/';
top.location.replace(pageName);
</script>
</head>
<body></body>
.amazonaws.com/: invalid character " " in host name
It probably should check if it is running on EC2 and fail with an error message in the vein of "Running outside of EC2, cannot configure node.'
We need some tooling to build the binary etc
Optional:
We should add a systemd unit file somewhat similar to the example one here https://github.com/errm/ekstrap/blob/master/example/ekstrap.service to the OS packages ...
Error when running kubectl exec / kubectl logs / kubectl port-forward
Error from server: Get https://10.20.73.201:10250/containerLogs/kube-system/traefik-ingress-controller-6f6d87769d-w8tq5/traefik-ingress-lb: x509: cannot validate certificate for 10.20.73.201 because it doesn't contain any IP SANs
Currently we only support systemd... we could support other init systems ... but does anyone even use them?
Only trigger a kubelet restart if its needed ...
This is a thing... https://github.com/aws/containers-roadmap/tree/master/preview-programs/eks-ec2-a1-preview
EKS should work with it!
Some aws cloudprovider stuff in kubernetes expects the hostname to == PrivateDNSName
we should replicate the ruby/bin/k8s-set-hostname
...
When EC2 instances are launched from an ASG the tags are not applied straight away ... if we can't find them we should loop and & poll.
Project needs a readme ...
It should explain what this does and why ...
Travis?
Switch from travis to Github Actions for CI and Release!
Installation instructions will be a lot simpler with a proper package repo ...
https://bintray.com or somesuch ...
#58 introduces some code generation as a ruby script that pulls some data from AWS pricing API and documentation. It would be nice to reimplement this using go tools.
Looks like these are some good candidates:
https://github.com/gocolly/colly - scraping framework
https://github.com/dave/jennifer - code generation
We should detect if the kubelet and heptio-authenticator-aws are installed allready ... if not we could have something that did that ...it would need to be modular somehow to support multiple distros...
We should diff the files if they already exist and only write them if needed....
Perhaps we could output a visual diff to stderr for logging reasons ...
For updates to files to be atomic we should first write to a tempfile then rename ...
See https://godoc.org/github.com/aws/aws-sdk-go/service/eks#pkg-constants
If the cluster is in the ClusterStatusCreating
state we should loop & poll waiting for it come up...
If we are in ClusterStatusActive
we can continue as normal
If there is ClusterStatusDeleting
or ClusterStatusFailed
we should fail fast ...
There should be an option for user to provide there own templates (at some known location, or perhaps in a configurable location)
The code should be more modular and simpler to test ...
There should be automated tests
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.