Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-md-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
with:
use-quiet-mode: 'yes'
config-file: '.github/workflows/check-md-link-config.json'
folder-path: 'regtests, .github, build-logic, polaris-core, service, runtime, persistence, spec, k8, getting-started, helm'
folder-path: 'regtests, .github, build-logic, polaris-core, service, runtime, persistence, spec, getting-started, helm'
file-path: 'CHAT_BYLAWS.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, SECURITY.md'
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,7 @@ using different configurations. Check the `./getting-started` directory for more

#### Running in Kubernetes

- `./run.sh` - To run Polaris as a mini-deployment locally. This will create a Kind cluster,
then deploy one pod and one service. The service is available on ports `8181` and `8182`.
- `kubectl port-forward svc/polaris-service -n polaris 8181:8181 8182:8182` - To create secure
connections between a local machine and a pod within the cluster for both service and
health/metrics endpoints:
- http://localhost:8182/q/metrics
- http://localhost:8182/q/health
- `kubectl get pods -n polaris` - To check the status of the pods.
- `kubectl get deployment -n polaris` - To check the status of the deployment.
- `kubectl describe deployment polaris-deployment -n polaris` - To troubleshoot if things aren't working as expected.
- See [README in `helm/polaris`](helm/polaris/README.md) for more information.

#### Configuring Polaris

Expand Down
31 changes: 0 additions & 31 deletions helm/polaris/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@ A Helm chart for Apache Polaris (incubating).

## Installation

### Running locally with a Kind cluster

The below instructions assume Kind and Helm are installed.

Simply run the `run.sh` script from the Polaris repo root:

```bash
./run.sh
```

This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
images with support for Postgres and load them into the Kind cluster. (It will also create an
example Deployment and Service with in-memory storage.)

### Running locally with a Minikube cluster

The below instructions assume Minikube and Helm are installed.
Expand Down Expand Up @@ -108,15 +94,6 @@ helm upgrade --install --namespace polaris \
polaris helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `helm upgrade` as follows:
```bash
helm upgrade --install --namespace polaris \
--values helm/polaris/ci/simple-values.yaml \
--set=image.repository=localhost:5001/apache/polaris \
polaris helm/polaris
```

#### Persistent backend

> [!WARNING]
Expand Down Expand Up @@ -208,14 +185,6 @@ Integration tests are run with the Chart Testing tool:
ct install --namespace polaris --charts ./helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `ct install` as follows:

```bash
ct install --namespace polaris --debug --charts ./helm/polaris \
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
```

## Values

| Key | Type | Default | Description |
Expand Down
31 changes: 0 additions & 31 deletions helm/polaris/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,6 @@ weight: 675

## Installation

### Running locally with a Kind cluster

The below instructions assume Kind and Helm are installed.

Simply run the `run.sh` script from the Polaris repo root:

```bash
./run.sh
```

This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
images with support for Postgres and load them into the Kind cluster. (It will also create an
example Deployment and Service with in-memory storage.)

### Running locally with a Minikube cluster

The below instructions assume Minikube and Helm are installed.
Expand Down Expand Up @@ -110,15 +96,6 @@ helm upgrade --install --namespace polaris \
polaris helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `helm upgrade` as follows:
```bash
helm upgrade --install --namespace polaris \
--values helm/polaris/ci/simple-values.yaml \
--set=image.repository=localhost:5001/apache/polaris \
polaris helm/polaris
```

#### Persistent backend

> [!WARNING]
Expand Down Expand Up @@ -210,12 +187,4 @@ Integration tests are run with the Chart Testing tool:
ct install --namespace polaris --charts ./helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `ct install` as follows:

```bash
ct install --namespace polaris --debug --charts ./helm/polaris \
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
```

{{ template "chart.valuesSection" . }}
61 changes: 0 additions & 61 deletions k8/deployment.yaml

This file was deleted.

67 changes: 0 additions & 67 deletions run.sh

This file was deleted.

31 changes: 0 additions & 31 deletions site/content/in-dev/unreleased/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@ A Helm chart for Apache Polaris (incubating).

## Installation

### Running locally with a Kind cluster

The below instructions assume Kind and Helm are installed.

Simply run the `run.sh` script from the Polaris repo root:

```bash
./run.sh
```

This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
images with support for Postgres and load them into the Kind cluster. (It will also create an
example Deployment and Service with in-memory storage.)

### Running locally with a Minikube cluster

The below instructions assume Minikube and Helm are installed.
Expand Down Expand Up @@ -108,15 +94,6 @@ helm upgrade --install --namespace polaris \
polaris helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `helm upgrade` as follows:
```bash
helm upgrade --install --namespace polaris \
--values helm/polaris/ci/simple-values.yaml \
--set=image.repository=localhost:5001/apache/polaris \
polaris helm/polaris
```

#### Persistent backend

> [!WARNING]
Expand Down Expand Up @@ -208,14 +185,6 @@ Integration tests are run with the Chart Testing tool:
ct install --namespace polaris --charts ./helm/polaris
```

Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
above, then you need to run `ct install` as follows:

```bash
ct install --namespace polaris --debug --charts ./helm/polaris \
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
```

## Values

| Key | Type | Default | Description |
Expand Down
Loading