mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Add Kubernetes microagent (#7028)
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com> Co-authored-by: Robert Brennan <accounts@rbren.io>
This commit is contained in:
50
microagents/knowledge/kubernetes.md
Normal file
50
microagents/knowledge/kubernetes.md
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
name: kubernetes
|
||||
type: knowledge
|
||||
version: 1.0.0
|
||||
agent: CodeActAgent
|
||||
triggers:
|
||||
- kubernetes
|
||||
- k8s
|
||||
- kube
|
||||
---
|
||||
|
||||
# Kubernetes Local Development with KIND
|
||||
|
||||
## KIND Installation and Setup
|
||||
|
||||
KIND (Kubernetes IN Docker) is a tool for running local Kubernetes clusters using Docker containers as nodes. It's designed for testing Kubernetes applications locally.
|
||||
|
||||
IMPORTANT: Before you proceed with installation, make sure you have docker installed locally.
|
||||
|
||||
### Installation
|
||||
|
||||
To install KIND on a Debian/Ubuntu system:
|
||||
|
||||
```bash
|
||||
# Download KIND binary
|
||||
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
|
||||
# Make it executable
|
||||
chmod +x ./kind
|
||||
# Move to a directory in your PATH
|
||||
sudo mv ./kind /usr/local/bin/
|
||||
```
|
||||
|
||||
To install kubectl:
|
||||
|
||||
```bash
|
||||
# Download kubectl
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
# Make it executable
|
||||
chmod +x kubectl
|
||||
# Move to a directory in your PATH
|
||||
sudo mv ./kubectl /usr/local/bin/
|
||||
```
|
||||
|
||||
### Creating a Cluster
|
||||
|
||||
Create a basic KIND cluster:
|
||||
|
||||
```bash
|
||||
kind create cluster
|
||||
```
|
||||
Reference in New Issue
Block a user