Welcome to the AI Watsonx and GitHub Sandbox repository! This repository provides YAML files and hands-on demo instructions to practice using Watsonx Code Assistant and GitHub workflows.
-
nginx-deployment.yaml
Defines a Kubernetes Deployment for running an NGINX application with:- 3 replicas of the NGINX pod.
- Resource limits for CPU and memory.
- Liveness and readiness probes.
-
nginx-service.yaml
Defines a Kubernetes Service for exposing the NGINX Deployment with:- LoadBalancer type for external access.
- Target port: 80.
exercises.md
Step-by-step instructions for completing Watsonx and GitHub-related exercises.
- GitHub
- Watsonx Code Assistant
- Visual Studio Code (or any other code editor)
- Click the Fork button at the top-right corner of this repository's page.
- Create a forked copy in your GitHub account.
Why?
Forking allows you to create your own copy of this repository so you can safely make changes without affecting the original.
-
Clone your forked repository:
git clone https://github.com/<your-username>/ai-watsonx-github.git cd ai-watsonx-github
Why?
Cloning downloads the repository to your local machine, so you can work on it using your favorite tools like Visual Studio Code.
-
Create and switch to a new branch:
git checkout -b my-enhancements
Why?
Working on a new branch helps keep your changes isolated from the main branch. This makes it easier to manage and collaborate on different tasks.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with clear and concise messages.
- Push your changes to your fork.
- Create a pull request to the
mainbranch of this repository.
For detailed guidelines, please refer to our CONTRIBUTING.md file.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy learning and collaborating!