Skip to content

Commit d5f661e

Browse files
Remove kind (#2028)
* Remove kind * Remove k8 dir from check-md-link.yml
1 parent 3019a5c commit d5f661e

File tree

7 files changed

+2
-232
lines changed

7 files changed

+2
-232
lines changed

.github/workflows/check-md-link.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
with:
4242
use-quiet-mode: 'yes'
4343
config-file: '.github/workflows/check-md-link-config.json'
44-
folder-path: 'regtests, .github, build-logic, polaris-core, service, runtime, persistence, spec, k8, getting-started, helm'
44+
folder-path: 'regtests, .github, build-logic, polaris-core, service, runtime, persistence, spec, getting-started, helm'
4545
file-path: 'CHAT_BYLAWS.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, SECURITY.md'

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,7 @@ using different configurations. Check the `./getting-started` directory for more
9999

100100
#### Running in Kubernetes
101101

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

113104
#### Configuring Polaris
114105

helm/polaris/README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,6 @@ A Helm chart for Apache Polaris (incubating).
4242

4343
## Installation
4444

45-
### Running locally with a Kind cluster
46-
47-
The below instructions assume Kind and Helm are installed.
48-
49-
Simply run the `run.sh` script from the Polaris repo root:
50-
51-
```bash
52-
./run.sh
53-
```
54-
55-
This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
56-
images with support for Postgres and load them into the Kind cluster. (It will also create an
57-
example Deployment and Service with in-memory storage.)
58-
5945
### Running locally with a Minikube cluster
6046

6147
The below instructions assume Minikube and Helm are installed.
@@ -108,15 +94,6 @@ helm upgrade --install --namespace polaris \
10894
polaris helm/polaris
10995
```
11096

111-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
112-
above, then you need to run `helm upgrade` as follows:
113-
```bash
114-
helm upgrade --install --namespace polaris \
115-
--values helm/polaris/ci/simple-values.yaml \
116-
--set=image.repository=localhost:5001/apache/polaris \
117-
polaris helm/polaris
118-
```
119-
12097
#### Persistent backend
12198

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

211-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
212-
above, then you need to run `ct install` as follows:
213-
214-
```bash
215-
ct install --namespace polaris --debug --charts ./helm/polaris \
216-
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
217-
```
218-
219188
## Values
220189

221190
| Key | Type | Default | Description |

helm/polaris/README.md.gotmpl

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ weight: 675
4444

4545
## Installation
4646

47-
### Running locally with a Kind cluster
48-
49-
The below instructions assume Kind and Helm are installed.
50-
51-
Simply run the `run.sh` script from the Polaris repo root:
52-
53-
```bash
54-
./run.sh
55-
```
56-
57-
This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
58-
images with support for Postgres and load them into the Kind cluster. (It will also create an
59-
example Deployment and Service with in-memory storage.)
60-
6147
### Running locally with a Minikube cluster
6248

6349
The below instructions assume Minikube and Helm are installed.
@@ -110,15 +96,6 @@ helm upgrade --install --namespace polaris \
11096
polaris helm/polaris
11197
```
11298

113-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
114-
above, then you need to run `helm upgrade` as follows:
115-
```bash
116-
helm upgrade --install --namespace polaris \
117-
--values helm/polaris/ci/simple-values.yaml \
118-
--set=image.repository=localhost:5001/apache/polaris \
119-
polaris helm/polaris
120-
```
121-
12299
#### Persistent backend
123100

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

213-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
214-
above, then you need to run `ct install` as follows:
215-
216-
```bash
217-
ct install --namespace polaris --debug --charts ./helm/polaris \
218-
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
219-
```
220-
221190
{{ template "chart.valuesSection" . }}

k8/deployment.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

run.sh

Lines changed: 0 additions & 67 deletions
This file was deleted.

site/content/in-dev/unreleased/helm.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,6 @@ A Helm chart for Apache Polaris (incubating).
4242

4343
## Installation
4444

45-
### Running locally with a Kind cluster
46-
47-
The below instructions assume Kind and Helm are installed.
48-
49-
Simply run the `run.sh` script from the Polaris repo root:
50-
51-
```bash
52-
./run.sh
53-
```
54-
55-
This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
56-
images with support for Postgres and load them into the Kind cluster. (It will also create an
57-
example Deployment and Service with in-memory storage.)
58-
5945
### Running locally with a Minikube cluster
6046

6147
The below instructions assume Minikube and Helm are installed.
@@ -108,15 +94,6 @@ helm upgrade --install --namespace polaris \
10894
polaris helm/polaris
10995
```
11096

111-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
112-
above, then you need to run `helm upgrade` as follows:
113-
```bash
114-
helm upgrade --install --namespace polaris \
115-
--values helm/polaris/ci/simple-values.yaml \
116-
--set=image.repository=localhost:5001/apache/polaris \
117-
polaris helm/polaris
118-
```
119-
12097
#### Persistent backend
12198

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

211-
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
212-
above, then you need to run `ct install` as follows:
213-
214-
```bash
215-
ct install --namespace polaris --debug --charts ./helm/polaris \
216-
--helm-extra-set-args "--set=image.repository=localhost:5001/apache/polaris"
217-
```
218-
219188
## Values
220189

221190
| Key | Type | Default | Description |

0 commit comments

Comments
 (0)