Chris
09/04/2024, 5:06 PMvalues.yaml
indicates I should include database connection strings and an encryption key:
secrets:
# replace this with the connection string of the database you created in a previous step:
databaseConnectionString: [DATABASE_CONNECTION_STRING]
# replace this with a randomly-generated string
authEncryptSecretKey: [ENCRYPTION_SECRET_KEY]
-- but this is the first step, and the values.yaml
file is supplied to helm during installation.
What is the expected process?Chris
09/04/2024, 6:29 PMChris
09/04/2024, 9:11 PMerror="bad configuration: missing required keys: [database.type]" fields.file=/etc/lakefs/config.yaml
Offir Cohen
09/05/2024, 7:01 AMChris
09/05/2024, 2:35 PMsecrets:
# replace this with the connection string of the database you created in a previous step:
databaseConnectionString: [DATABASE_CONNECTION_STRING]
# replace this with a randomly-generated string
authEncryptSecretKey: [ENCRYPTION_SECRET_KEY]
lakefsConfig: |
blockstore:
type: s3
s3:
force_path_style: true
endpoint: http://<minio_endpoint>
discover_bucket_region: false
credentials:
access_key_id: <minio_access_key>
secret_access_key: <minio_secret_key>
-- but I was able to get postgres working.Chris
09/05/2024, 2:36 PMChris
09/05/2024, 2:39 PMChris
09/05/2024, 2:45 PMChris
09/05/2024, 2:51 PMChris
09/05/2024, 2:54 PMChris
09/05/2024, 3:13 PMlakectl config
awaits user input if I've already provided a configuration. I just happened to guess that is what it wanted (relevant doc page)
-- if this isn't helping let me know. Just want LakeFS to be as frictionless as possible.Offir Cohen
09/05/2024, 3:15 PMChris
09/05/2024, 3:18 PM~/.lakectl.yaml
according to the format ✅
2. install lakectl/lakefs cli via brew ✅
3. run lakectl config
(hangs until I press enter for each value it is reading/defaulting to from the config)
a. many would have CTRL-C'd the hang rather than trying to press 'ENTER' and see what happened
b. would they ever think to press 'ENTER'?
I could see people getting stuck there.Offir Cohen
09/05/2024, 3:22 PMChris
09/05/2024, 3:28 PMChris
09/05/2024, 3:53 PMtcp
at the hostname localhost
after port forwarding.
However, the DNS name for the minio service inside the kubernetes network is used instead when attempting to clone the data.
What I need is for the local lakectl
tool to connect to the localhost
when it establishes a tcp
connection to minio rather than the kubernetes dns name.
Right now, I have two paths:
• update the hosts file and point, for example, minio.mlops.svc.cluster.local
to 127.0.0.1
(which is the endpoint I configured in the lakefs helm values.yaml
)
• configure the .lakectl.yaml
file to use 127.0.0.1
for communication with minio
The second will be easier to support for other users. Is there any way to configure lakectl.yaml
to use the localhost?Chris
09/05/2024, 3:59 PM