Coder Social home page Coder Social logo

ekstrap's People

Contributors

errm avatar mtpereira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ekstrap's Issues

Example Packer Configs ...

There should be some example packer configs to build working AMIs

Not sure if they belong in this repo or somewhere else?

Fail early with an appropriate error message if not on AWS EC2

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.'

Release tooling

We need some tooling to build the binary etc

  • Build and attach binary to Github release
  • Checksums

Optional:

  • OS Packages
  • Containerised version
  • Signed binary

Cert error on EKS with k8s version 1.11.5

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

Support other init systems

Currently we only support systemd... we could support other init systems ... but does anyone even use them?

Set hostname

Some aws cloudprovider stuff in kubernetes expects the hostname to == PrivateDNSName

we should replicate the ruby/bin/k8s-set-hostname...

README

Project needs a readme ...

It should explain what this does and why ...

Github Actions

Switch from travis to Github Actions for CI and Release!

Installer

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...

Diff first ...

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 ...

Write files atomicly

For updates to files to be atomic we should first write to a tempfile then rename ...

Overridable templates

There should be an option for user to provide there own templates (at some known location, or perhaps in a configurable location)

Quality

The code should be more modular and simpler to test ...

There should be automated tests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.