Skip to content

Commit 0fe369f

Browse files
authored
chore(addons): add nessie add postgres-cluster
1 parent 368d268 commit 0fe369f

76 files changed

Lines changed: 5534 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,8 @@ Temporary Items
4747
toCopy/
4848
out/
4949
Chart.lock
50-
*.tgz
50+
*.tgz
51+
52+
*.fix
53+
addons/grafana/10/dashborad/
54+
addons/prometheus/prom-value.yaml

addons/index.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ entries:
4141
postgresql-cluster:
4242
- version: 15
4343
description: "PostgreSQL is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance."
44+
- version: 16
45+
description: "PostgreSQL is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance."
4446
seaweedfs:
4547
- version: 3
4648
description: "SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files."
@@ -69,4 +71,7 @@ entries:
6971
description: "Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol."
7072
yugabytedb:
7173
- version: 2024
72-
description: "YugabyteDB is a high-performance distributed SQL database for powering global, internet-scale applications. "
74+
description: "YugabyteDB is a high-performance distributed SQL database for powering global, internet-scale applications. "
75+
nessie:
76+
- version: "0.103"
77+
description: "Transactional Catalog for Data Lakes with Git-like semantics . "
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v2
2+
description: A Helm chart for Nessie
3+
home: https://projectnessie.org/
4+
icon: https://raw.githubusercontent.com/projectnessie/nessie/main/site/docs/img/nessie.svg
5+
keywords:
6+
- nessie
7+
- iceberg
8+
- delta
9+
- data lake
10+
- transactional catalog
11+
- git-like semantics
12+
maintainers:
13+
- name: nastra
14+
- name: snazy
15+
- name: dimas-b
16+
- name: adutra
17+
name: nessie
18+
sources:
19+
- https://github.com/projectnessie/nessie
20+
type: application
21+
version: 0.103.0

addons/nessie/0.103/chart/nessie/README.md

Lines changed: 351 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
service:
2+
# -- The type of service to create.ClusterIP , LoadBalancer
3+
type: LoadBalancer
4+
jdbc:
5+
# -- The JDBC connection string. If you are using Nessie OSS images, then only
6+
# PostgreSQL, MariaDB and MySQL URLs are supported. Check your JDBC driver documentation
7+
# for the correct URL format.
8+
jdbcUrl: jdbc:postgresql://10.43.205.80:5432/postgres
9+
# -- The secret key storing the datasource username.
10+
username: administrator
11+
# -- The secret key storing the datasource password.
12+
password: gvB7Ha9uP7
13+
14+
catalog:
15+
# -- Whether to enable the REST catalog service.
16+
enabled: true
17+
iceberg:
18+
# -- The default warehouse name. Required. This is just a symbolic name; it must refer to a
19+
# declared warehouse below.
20+
defaultWarehouse: warehouse
21+
warehouses:
22+
# -- Symbolic name of the warehouse. Required.
23+
- name: warehouse
24+
# -- Location of the warehouse. Required. Used to determine the base location of a table.
25+
# Scheme must be either s3 (Amazon S3), gs (Google GCS) or abfs / abfss (Azure ADLS). Storage
26+
# properties for each location can be defined below.
27+
location: s3://bucket1/
28+
29+
storage:
30+
s3:
31+
# Global S3 settings. Can be overridden on a per-bucket basis below.
32+
defaultOptions:
33+
# -- DNS name of the region, required for AWS.
34+
region: us-west-1
35+
# -- Endpoint URI, required for private clouds. Optional; if not provided, the default is
36+
# used.
37+
endpoint: "http://10.43.223.144:9000"
38+
# -- The secret key storing the AWS secret key id.
39+
awsAccessKeyId: admin
40+
# -- The secret key storing the AWS secret access key.
41+
awsSecretAccessKey: u929mrqXtb
42+
43+
extraEnv:
44+
[]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{{/**
2+
3+
Copyright (C) 2024 Dremio
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
**/}}
18+
19+
To connect to Nessie, please execute the following commands:
20+
{{- if .Values.ingress.enabled }}
21+
{{- range $host := .Values.ingress.hosts }}
22+
{{- range .paths }}
23+
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }}
24+
{{- end }}
25+
{{- end }}
26+
{{- else if contains "NodePort" .Values.service.type }}
27+
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "nessie.fullname" . }})
28+
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
29+
echo http://$NODE_IP:$NODE_PORT
30+
{{- else if contains "LoadBalancer" .Values.service.type }}
31+
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
32+
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "nessie.fullname" . }}'
33+
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "nessie.fullname" . }} -o jsonpath="{ .status.loadBalancer.ingress[0].ip }")
34+
echo http://$SERVICE_IP:{{ get (first .Values.service.ports) "number" }}
35+
{{- else if contains "ClusterIP" .Values.service.type }}
36+
nohup kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ include "nessie.fullname" . }} 19120:{{ get (first .Values.service.ports) "number" }} &
37+
echo "Visit http://127.0.0.1:19120 to use your application"
38+
{{- end }}

0 commit comments

Comments
 (0)