> For the complete documentation index, see [llms.txt](https://docs.aurras.hugobyte.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aurras.hugobyte.com/components/event-feed/event-feed-substrate/deployment/kubernetes.md).

# Kubernetes

### Prerequisites

* [Kubernetes](/dependencies/kubernetes.md)
* [Helm](/dependencies/helm.md)
* [Openwhisk](/dependencies/openwhisk.md) ([Kubernetes](/dependencies/openwhisk/deployment/setup-kubernetes.md))

### Deployment Guide

1. Clone [aurras-deployment-kubernetes](https://github.com/HugoByte/aurras-deployment-kubernetes) with submodules

```
git clone https://github.com/HugoByte/aurras-deployment-kubernetes --recurse-submodules
```

&#x20;  2\. Navigate to aurras-event-feed-substrate setup directory

```
cd aurras-deployment-kubernetes/aurras-event-feed-substrate
```

&#x20;  3\. Get InternalIP of the cluster

```
kubectl describe nodes | grep InternalIP
```

&#x20;  4\. Creating mycluster.yaml with environment variables provided below with host of the **CHAIN\_ENDPOINT** and **OPENWHISK\_API\_HOST** as InternalIP of the nodes&#x20;

{% hint style="info" %}
Assuming the IP returned from the above step 3 as "192.168.65.3"
{% endhint %}

```
env:
  - CHAIN_NAME: Node Template
  - CHAIN_ENDPOINT: ws://192.168.65.3:9944
  - LOGGERS: console,info;file,error,/logs/event-feed.log
  - EXCLUDES: system
  - TYPES_FILE: /configs/types.json #name of the types file should be types.json
  - KAFKA_BROKERS: 192.168.65.3:9092
  - OPENWHISK_API_KEY: 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
  - OPENWHISK_API_HOST: https://192.168.65.3:31001
  - OPENWHISK_NAMESPACE: guest
  - EVENT_RECEIVER: event-receiver
  - TOPICS=balances=<Generated>
  - EVENT_PROCESSOR=substrate-event-processor
```

5\. Add custom type if any for the chain to `helm/config/types.json`

6\. Deploy Openwhisk using helm

```
helm install aurras-event-feed-substrate ./helm -n aurras -f mycluster.yaml
```

&#x20; 7\. Get the summary of installation using

```
helm status aurras-event-feed-substrate -n aurras
```


---

# 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:

```
GET https://docs.aurras.hugobyte.com/components/event-feed/event-feed-substrate/deployment/kubernetes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
