> For the complete documentation index, see [llms.txt](https://docs.switchboard.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.switchboard.xyz/how-it-works/switchboard-protocol/running-a-switchboard-oracle/platform-kubernetes-+-amd-sev-snp/bare-metal-with-kubernetes-k3s.md).

# Bare Metal with Kubernetes (K3s)

If your team has knowledge about Kubernetes, you should be already aware of the many advantages and power that it provides (scalability, flexibility, great tooling, etc..) so we won't go too deep into those aspects here.

Running Kubernetes on your own hardware provides its own challenges but we found that with just a few hints and settings it's easy to run our Oracle code with no huge effort, provided you have basic Kubernetes management knowledge.

During our tests, we found that the easiest and most flexible solution to run Kubernetes on bare metal is K3S (<https://k3s.io>) and that is what we're using in our instructions but everything should work as well in any other Kubernetes distribution, provided you're able to use `helm` and `kubectl` to control it and the underlying hardware supports AMD SEV SNP.

WARNING: At the moment our instructions are written for a k3s cluster of only one node, but we plan to soon extend it to be able to fully support a multi node cluster as we have Oracles running correctly in this configuration which takes full advantage of Kubernetes HA and scalability offering.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.switchboard.xyz/how-it-works/switchboard-protocol/running-a-switchboard-oracle/platform-kubernetes-+-amd-sev-snp/bare-metal-with-kubernetes-k3s.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
