/kubesnap

PoC - Kubernetes monitoring by snap

Primary LanguageShellApache License 2.0Apache-2.0

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

This project has been identified as having known security escapes.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

Status

This repository is no longer being actively maintained by Intel. Work has instead shifted to the snap-integration-kubernetes repository.

kubesnap

How to run

  1. Prerequisites
  2. Start work with Google Cloud Platform
  3. Install kubesnap
  4. Contributing
  5. License
  6. Acknowledgements

1. Prerequisites

  • Kubernetes cluster - tested with Kubernetes on Google Cloud Environment (GCE)

2. Start work with Google Cloud Platform

a) Open Google Cloud Platform Console

b) Select your project

  • select your project from the drop-down menu in the top right corner Alt text

c) Switch to Compute Engine screen

  • select Products & Services from GC Menu in the top left corner

    Alt text

  • and then select Compute Engine from the drop-down list

    Alt text

d) Create a new VM instance

  • create a new VM instance Alt text

  • set the instance name

  • choose a machine with at least 4 vCPUs and at least 15GB RAM

  • select Ubuntu 16.04 with standard persistent disk with at least 100GB

    Alt text

e) Open the VM terminal by click on SSH

  • click on SSH to open the VM terminal (it will open as a new window)

Alt text

f) Authorize access to Google Cloud Platform

  • manage credentials for the Google Cloud SD. To do that, run the following command:

    gcloud auth login
    

    Answer Y to the question (see below) and follow the instructions:

    • copy the link in your browser and
    • authenticate with a service account which you use in Google Cloud Environment,
    • copy the verification code from browser window and enter it

    Alt text

  • check if you are on credentialed accounts:

gcloud auth list

3. Install kubesnap

Clone kubesnap into your home directory:

git clone https://github.com/intelsdi-x/kubesnap

Go to kubesnap/tools:

cd kubesnap/tools

Provision kubesnap (it takes approximately 35 minutes on a VM with 4 vCPUs and 15 GB of RAM in us-central1-b zone):

./provision-kubesnap.sh

4. Contributing

We love contributions!

There's more than one way to give back, from examples to blogs to code updates. See our recommended process in CONTRIBUTING.md.

And thank you! Your contribution, through code and participation, is incredibly important to us.

5. License

snap, along with this kubesnap, is an Open Source software released under the Apache 2.0 License.

6. Acknowledgements