GitPod

Β·

5 min read

GitPod

1. What is Gitpod πŸ‘¨β€πŸ’»

Gitpod is an open-source Kubernetes application for ready-to-code cloud development environments that spins up fresh, automated dev environments for each task, in the cloud in a few seconds. It enables the user to describe the dev environment as code and start instant, remote and cloud development environments directly from the user browser or user Desktop IDE.

2. Features 🎯

  • Dev environments as code:- Gitpod applies lessons learned from infrastructure-as-code. Spinning up dev environments is easily repeatable and reproducible empowering you to automate, version-control, and share dev environments across your team.

  • Prebuilt dev environments:- Gitpod continuously prebuilds all your git branches similar to a CI server. Control how Gitpod pre-configures and initializes environments before you even start a workspace through init commands in your .gitpod.yml.

  • Integrated Docker build:- Gitpod instantly starts a container in the cloud based on your Docker image. Tools that are required for your project are easy to install and configure.

  • GitLab, GitHub, and Bitbucket integration:- Gitpod seamlessly integrates into your workflow and works with all major git hosting platforms including GitHub, GitLab and Bitbucket.

  • Integrated code reviews:- with Gitpod you can do native code reviews on any PR/MR. No need to switch contexts anymore and clutter your local machine with your colleagues' PR/MR.

  • Professional & customizable developer experience:- a Gitpod workspace gives you the same capabilities (yes, even root & docker) as your Linux machine - pre-configured and optimized for your individual development workflow. Install any VS Code extension with one click on a user and/or team level.

3. Getting started πŸš€

  • After you sign up to Gitpod, you will find your workspaces empty.

  • Every workspace is a -virtual- computer.

  • The only way to create a new workspace is to specify a Github repository folder.

  • Once the new workspace opens, it will create an empty computer for you, but it will also download to this new computer the files from the Github repository folder that you specified (your code).

  • Finally, it will open a coding editor (probably VSCode, the most used coding IDE in the world) and a terminal to start coding as if the workspace was on your local computer in the first place.

  • If you go back to your workspaces, you will find all the computers you have created and be able to re-open them. Changes you made to the files will stay forever, you will not lose any data as long as you RE-OPEN the same workspace you were working on in the first place.

  • Overall workspace architecture

    • Gitpod IDE/Editor Supports

Gitpod supports several IDE and code editors and below is a complete list of supported editors and IDEs by Gitpod.

  • VScode Desktop & Browser

  • IntelliJ

  • GoLand

  • PhpStorm

  • PyCharm

  • Vim

4. Installation Self-Hostedβš™

  • To start with installing Gitpod, you need a terminal where you can run kubectl against your cluster. First, install the KOTS kubectl plugin:
curl https://kots.io/install | bash
  • Now, you are ready to install Gitpod. Run the following command in your terminal:
kubectl kots install gitpod
  • You will be asked for the namespace you want to install Gitpod to as well as a password for the admin console. After some time, you will see the following output:
  β€’ Press Ctrl+C to exit
  β€’ Go to http://localhost:8800 to access the Admin Console
  • Open your favorite browser and go to http://localhost:8800 (port 8800 is opened on your node on localhost onlyβ€”you may want to forward the port to your workstation in order to access the admin console).

The first page will ask you to upload your Gitpod license which you can get here For more information about our licenses and respective pricing plans, please visit our self-hosted pricing page.

After uploading the license, you will be forwarded to the config page. On this page, you need to enter your domain name for your Gitpod installation. You can also configure to use external components (by default internal ones are installed) as well as your TLS certs setup or your workspace size. Click β€œContinue” to proceed with the installation.

  • In the next step, the installer runs a preflight check. This validates your cluster meets the minimum requirements. Everything is green? Awesome! Click β€œContinue” to proceed.

  • Now, you are seeing the installation admin page. Once the installation has been finished successfully, you will see the status β€œReady” with a small green indicator next to the Gitpod logo. You will also see which version you installed and which license you are using.

  • Open your Gitpod domain in your browser to access your running Gitpod instance. You should be greeted by the following screen:

  • You will then be asked to configure a git integration:

This git integration will also serve as the way that you and your users get authenticated against your Gitpod installation.

5. Resources πŸ“š

🚩 https://www.gitpod.io/docs/introduction

🚩 https://www.youtube.com/live/tOrr4r_pNQc?feature=share

🚩 https://www.youtube.com/live/KU3aLQ_3ok0?feature=share

🚩 https://youtu.be/XcjqapXfrhk

6. Get involved with community πŸ‘‹πŸ»

πŸ“Œ https://www.gitpod.io/chat

7. Contribute to Gitpod project πŸ‘©β€πŸ’»

πŸ“Œ https://github.com/gitpod-io/gitpod

That's all for this blog, I hope you will learn something new. And feel free to share your thoughts and feedback, Thanks for reading.

Feel free to reach out to me πŸ‘€

Twitter πŸ–±

LinkedIn πŸ–±

Github πŸ–±

Did you find this article valuable?

Support Hashnode by becoming a sponsor. Any amount is appreciated!

Β