Coder Social home page Coder Social logo

cloudify-kubernetes-provider's People

Contributors

0lvin avatar earthmant avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cloudify-kubernetes-provider's Issues

Instances should resolve based on type.

Regarding this

Currently, we resolve instances based on node id. I think type would be better. The problem is we don't have a type yet.

We could resolve based on a node type like this, or, since in aria, such a type does not exist, we could resolve based on a runtime property like "RESOURCE_TYPE".

Improve delete workflow

For now delete workflow ignore filed with hits for node names for delete, need to change code to delete nodes only defined as nodes for possible delete. Use scalelist{up/down} for scaling.

Need to change kubernetes host nodes and load balancers nodes.

Support LoadBalancer Phase 1

Update the current load balancer behavior.

Today, when a user "expose" a pod or deployment using a load balancer method, the provider returns 127.0.0.1. We need to provide the real URL of the node instance. It should default to public_ip runtime property, and fall-back to ip runtime property.

Create Add Node to Cluster Blueprints.

If I have already created a cluster in some IaaS, Azure for example, and I want to add a VM to the cluster with a specific pod or service, I need a infrastructure blueprint that I can import.

Please create such a blueprint for:

  • AWS
  • Azure
  • GCP
  • Openstack
  • Vsphere

  • The blueprint should enable labeling nodes as well.

Use SSL with Client

Update cfy-go client installation on provider to use SSL.
Also the build/cluster creation blueprint should configure generate the scripts as well.

Instances Mapping to kubernetes_host

Currently Instances are mapped to nodes in the cluster blueprint of node type "kubernetes_host".Ref

The problem with this approach is that the node type needs to be redefined for each cluster deployment, examples:

On the one hand, since a Kubernetes Node is strictly speaking a machine, the direct corresponding type in cloudify is cloudify.nodes.Compute`. On the other hand, a Kubernetes Node should also have several capabilities that are not part of Cloudify Compute nodes - container runtime, kube-proxy, etc.

I want to propose an alternative:

A new node type that is "contained_in" a Cloudify Compute node that represents the Kubernetes Node, such as:

node_types:
    cloudify.nodes.Kubernetes.Node:
        derived_from: cloudify.nodes.SoftwareComponent
        properties: {}
node_templates:
    kube_node:
        type: cloudify.nodes.Kubernetes.Node
        relationships:
        - type: cloudify.relationships.contained_in
           target: some_vm

Refactor Cloudify Kubernetes Provider

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.