best-flower-46100
04/05/2023, 12:03 PMeager-coat-70115
04/05/2023, 7:32 PMbrew remove garden-cli
still leaves garden running (tried going to http://localhost/something and got the garden 404 page still that says it's running)hallowed-apartment-22484
04/10/2023, 12:26 AMExternalDNS
, are not specific to a particular developer's namespace.
What would be the recommended way to manage deployments that are done at the cluster level vs deployments done for a particular namespace. (I know my wording is confusing - i'm not really sure the best way to phrase the question π )colossal-salesclerk-87522
04/11/2023, 11:51 AMcold-state-31010
04/13/2023, 3:44 PMaloof-lamp-69262
04/20/2023, 5:46 PMbuildArgs
to the templated
module. I get the error key "buildArgs" is not allowed at path [buildArgs]
If I try to add buildArgs
in the template itself and use ${inputs.XXX}
it complains Could not find key inputs. Available keys: command, git, local, project and secrets.
Basically it looks like inside the template I can not use inputs
except in the modules
section. So currently as it stands I can not use buildArgs
with templates
. This is a blocker for using this feature. Is there any other way around it?orange-ability-1812
04/21/2023, 3:39 AMaloof-lamp-69262
04/21/2023, 5:01 PMModuleTemplate
based off an existing one?
The idea here is the project is giving, same template X and then a set of modules can create their own template Y based of template X and define the arguments that are common for all of it's services instead of repeating them for each template of the base template X.
Can this be done? I tried an example but I can't get it to workdamp-manchester-26851
04/21/2023, 5:08 PMfrontend and api-gateway
. Their ports are respectively 3000 and 3001. The main issue is that i cant do a HTTP-request to http://api-gateway:3001 ( i get an ERR_NAME_NOT_RESOLVED
).
I can only do that using external IP-address (http://127.10.0.7:3001)
.
When i used Docker Compose, i had no problems with getting access to the other services with api-gateway:3001
.
I am sorry in advance for it, but can i ask one more question? I run my own test in Garden, but i cant see the succeed
option in the Dashboard near it. It uses Jest-library to run the test. And it really passes it.
Thanks in advance!lively-actor-89932
04/25/2023, 2:20 PMyaml
kind: Module
type: helm
name: kafka
include: []
repo: https://charts.bitnami.com/bitnami
chart: kafka
# version: 21.4.6
values:
maxMessageBytes: "10000000"
persistence:
enabled: false
numPartitions: 10
aloof-lamp-69262
04/25/2023, 3:13 PMrun workflow XXX
We have one workflow specifically designed for BuildKite and it could use calling other workflow instead of having to duplicate the steps there and copying them over... I think we can all agree copying is bad, will break the single source of truth concept.
Thank you.aloof-lamp-69262
04/26/2023, 8:33 PM.garden/error.log
is always empty.
However I find the actual file under .garden/logs/error.log
Alongside development.log
How can I fix this to not go under logs folder and just stay on the root folder.
I searched the documents and I could not find a way to influence this via an env variable or some sort of config.
Thank you!orange-ability-1812
04/30/2023, 2:59 AMgardendev/garden-gcloud:latest
$ gcloud --quiet components update
Beginning update. This process may take several minutes.
Your current Google Cloud CLI version is: 411.0.0
You will be upgraded to version: 428.0.0
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β These components will be updated. β
βββββββββββββββββββββββββββββββββββ¬βββββββββββββ¬βββββββββββ€
β Name β Version β Size β
βββββββββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββ€
β BigQuery Command Line Tool β 2.0.91 β 1.6 MiB β
β Bundled Python 3.9 β 3.9.16 β 63.4 MiB β
β Cloud Storage Command Line Tool β 5.23 β 15.5 MiB β
β Google Cloud CLI Core Libraries β 2023.04.25 β 20.3 MiB β
β Google Cloud CRC32C Hash Tool β 1.0.0 β 1.2 MiB β
β anthoscli β 0.2.36 β 68.4 MiB β
β gcloud cli dependencies β 2023.04.25 β 11.3 MiB β
β gke-gcloud-auth-plugin β 0.5.2 β 7.7 MiB β
β kubectl β 1.24.13 β < 1 MiB β
β kubectl β 1.24.13 β 92.6 MiB β
βββββββββββββββββββββββββββββββββββ΄βββββββββββββ΄βββββββββββ
A lot has changed since your last upgrade. For the latest full release notes,
and so on.early-finland-63883
05/02/2023, 5:02 PMaloof-lamp-69262
05/03/2023, 4:30 PMbored-grass-81679
05/05/2023, 12:06 PM/snapshot/project/tmp/pkg/cli/node_modules/execa/lib/error.js:59
Β Β Β Β Β Β Β error = new Error(message);
Β Β Β Β Β Β Β Β Β ^
Error: Command "git status" failed with code 128:
fatal: this operation must be run in a work tree
Β Β Β at makeError (/snapshot/project/tmp/pkg/cli/node_modules/execa/lib/error.js:59:11)
Β Β Β at handlePromise (/snapshot/project/tmp/pkg/cli/node_modules/execa/index.js:114:26)
Β Β Β at processTicksAndRejections (node:internal/process/task_queues:95:5)
Β Β Β at exec (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/util/util.ts:231:17)
Β Β Β at /snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/vcs/git.ts:97:26
Β Β Β at wrapped.ensureSafeDirGitRepo (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/vcs/git.ts:162:7)
Β Β Β at wrapped.getRepoRoot (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/vcs/git.ts:205:5)
Β Β Β at wrapped.getFiles (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/vcs/git.ts:269:21)
Β Β Β at findConfigPathsInPath (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/util/fs.ts:175:17)
Β Β Β at /snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/watch.ts:298:29
Here is more context about our setup and about the encoutered problem:
- Garden version: 0.12.55
- We include 3 remote sources in the garden.project.yaml file.
- We have a deployment bash script which runs garden link source
on those remote sources and then garden dev
- The problem is sadly only reproducible on my coworkers MacOS laptop at the moment.
I would appreciate any leads on this since it's affecting my coworker's productivity by quite a lot. π¦wonderful-table-85939
05/09/2023, 11:40 AMaloof-lamp-69262
05/11/2023, 4:05 PMoutputs
. It looks like it is not affecting functionality
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [ReadEntry]. Use emitter.setMaxListeners() to increase limit
We get about 30 - 50 of such outputs. Please find attached image.
https://cdn.discordapp.com/attachments/1106250635931811981/1106250636175089714/Image_5-11-23_at_12.04_PM.jpegβΎ
millions-ability-962
05/12/2023, 11:28 AMservices:
- name: blabla
service:
type: LoadBalancer
deployment:
labels:
app: my-app
command: /bin/bash
ports:
- name: http
...
stale-cpu-26955
05/16/2023, 12:09 AMyaml
kind: Module
type: container
name: gateway-cache
repositoryUrl: git@github.com:B612-Asteroid-Institute/gateway.git#main
services:
# <etc>
The gateway
repository (which is private, sorry) has a Dockerfile in it. When I garden build
this gateway-cache
module, I get an error.
The error is from an old line in an old version of the Dockerfile - not the version currently at HEAD
of main
on that repo. I don't seem to be able to propagate changes from my Dockerfile to the garden build.
Our Garden installation was mostly set up by other developers on my team so I don't know what other context would be helpful. We use buildMode: cluster-buildkit
on a kubernetes cluster, if that helps.
What caches are involved in garden build
and how do I clear them or disable their use?icy-furniture-17516
05/18/2023, 12:24 PMeager-yacht-45658
05/19/2023, 1:52 PMenv:
from the container?icy-furniture-17516
05/20/2023, 12:39 PMgarden deploy kcp
Garden Bonsai (0.13) is in beta. Please report any issues here:
https://github.com/garden-io/garden/issues/new?labels=0.13&template=0-13-issue-template.md&title=0.13%3A+%5BBug%5D%3A
Deploy π
βΉ garden β Running in namespace default in environment default
βΉ providers β Getting status...
β providers β Cached (in 2.1 sec)
βΉ providers β Run with --force-refresh to force a refresh of provider statuses.
βΉ graph β Resolving actions and modules...
β
Error processing config for Deploy action kcp:
Invalid template string (${actions.build.kcpctl.outputs.depβ¦): Could not find key actions. Available keys: command, datetime, environment, git, inputs, local, parent, project, secrets, template, var and variables.
See .garden/error.log for detailed error message
colossal-salesclerk-87522
05/23/2023, 12:35 AMicy-furniture-17516
05/23/2023, 10:20 AMstale-cpu-26955
05/23/2023, 10:53 PMmanagedBy
key, but now garden status
gives an error:
Error validating provider configuration: key "managedBy" is not allowed at path .tlsCertificates[0][managedBy].
I don't know how to proceed. Is there a migration guide or anything for how to safely run garden 0.13.0? Any guidance would be helpful.rough-kilobyte-44808
05/25/2023, 4:31 PMgarden tools terraform.terraform-1-2-9 -- -chdir=infra init
And that worked, but garden still will not start with the below error.
Error: Configured provider 'terraform' has not been registered.
at /snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/garden.ts:723:17
at tryCatcher (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/map.js:68:38)
at MappingPromiseArray.<anonymous> (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/promise_array.js:115:31)
at MappingPromiseArray.init (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/promise_array.js:79:10)
at MappingPromiseArray._asyncInit (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/map.js:37:10)
at _drainQueueStep (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:97:12)
at _drainQueue (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.<anonymous> (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:471:21)
Error Details:
name: terraform
availablePlugins:
- exec
- container
- hadolint
- kubernetes
- local-kubernetes
- octant
- templated
I am unable to use my system at all with bonsai.
The ONLY thing that has changed is the version of garden. I will try to downgrade, and I have warned my team not to upgrade. Not a fun surprise for the morning.mammoth-kilobyte-41764
05/25/2023, 10:41 PMprehistoric-piano-41561
05/26/2023, 3:43 PMmysql -u root -h 127.0.0.1 -p
and successfully connect to my database. On 0.12.49 and above that command results in this error ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
I started garden in silly debug mode on each version. When connecting to mysql on 0.12.48 I see the following output from garden
βΉ mysql [debug] β Starting port forward to mysql/mysql:3306
βΉ mysql [silly] β Getting getPortForward handler for service mysql
βΉ mysql [silly] β Calling getPortForward handler for service mysql
βΉ mysql [debug] β Forwarding local port 63925 to Service/mysql port 3306
βΉ mysql [silly] β Running 'kubectl --context=docker-desktop --namespace=localhost-demo port-forward Service/mysql 63925:3306'
βΉ mysql [silly] β [Service/mysql port forwarder] Forwarding from 127.0.0.1:63925 -> 3306
βΉ mysql [debug] β Successfully started port forward to mysql/mysql:3306
βΉ mysql [debug] β Connecting to mysql/mysql:3306 port forward at localhost:63925
kind-jordan-85111
05/26/2023, 7:02 PMgarden plugins local-kubernetes cluster-init
- Upgrade to the 0.13.0 version of the CLI
- Run garden validate
- this triggers upgrades of garden managed resources including the nginx controller
Expected results: No errors and components are updated
Actual results:
Resource: "batch/v1, Resource=jobs", GroupVersionKind: "batch/v1, Kind=Job"
Name: "ingress-nginx-admission-patch", Namespace: "ingress-nginx"
...TopologySpreadConstraints:[]core.TopologySpreadConstraint(nil), OS:(*core.PodOS)(nil)}}: field is immutable
...
Failed resolving one or more providers:
- local-kubernetes
Full log is attached
https://cdn.discordapp.com/attachments/1111730980726775960/1111730980936482846/message.txt