GithubHelp home page GithubHelp logo

rhodie27 / kubernetes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ocopea/kubernetes

0.0 1.0 0.0 233 KB

Ocopea Extension for Kubernetes

License: Other

Go 88.85% Shell 0.39% Java 10.76%

kubernetes's Introduction

Ocopea Kubernetes Extension

Ocopea is a Kubernetes extension allowing developers to take application copies of their deployments.

Description

Ocopea Kubernetes extension simplifies the development process of complex multi-microservice apps in multi-cluster environments. Untangling the complexity of orchestrating the restoration of production copies for debugging and automated tests are two of the most common tasks our rich API and UI offers.

Learn More

Installation

All you'll have to do in order to start using Ocopea is clone this repo under your GOPATH and start playing.

$ cd $GOPATH/src
$ mkdir ocopea
$ cd ocopea
$ git clone https://github.com/ocopea/kubernetes.git

Usage Instructions

Deploying Ocopea site on your Kubernetes cluster is as simple as running one command. For simplicity, we recommend using kubectl proxy instead of passing API info for Ocopea.

$ kubectl proxy -p 8080

When deploying to an on premises cluster (local deployment), pass the Kubernetes cluster IP as the local-cluster-ip Use the site-name flag to name the site (e.g. "Durham datacenter"); otherwise, the cluster IP will be used to identify the site.

$ cd deployer
$ go run deployer.go deploy-site -local-cluster-ip={k8s cluster ip} [-site-name={your site name}] 

When deploying to a public cloud cluster (e.g. GCE, AWS), use the deployment-type flag with the cloud of choice. It is recommended to set the site-name flag to match the cluster name in the cloud platform (e.g. gcloud cluster name).

$ cd deployer
$ go run deployer.go deploy-site -deployment-type=gce -user={...} -password={...} -site-name=europe-west2-c1 

The easiest way to explore Ocopea on your laptop is by using minikube. A minikube deployment is no different than other local clusters.

$ minikube start
$ kubectl proxy -p 8080
$ cd deployer
$ go run deployer.go deploy-site -local-cluster-ip=$(minikube ip) 

Once the site has been deployed successfully, the deployer prints the Hub webapp URL. To login use the default user admin with password nazgul.

Use the -cleanup=true flag if you wish to redeploy to the same site.

Kubernetes User Guides

Contribution

Quality

Every pull request must pass the full tests of this repository.

  1. All go code must be formatted with gofmt
  2. All repository tests must pass. See more information regarding how to run the tests here.

kubernetes's People

Contributors

shpandrak avatar vjtirumalai avatar rpellows avatar

Watchers

Michael Rhodes avatar

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.