Questions tagged [go]

23 questions
4
votes
2 answers

In a helm template how can i use items in 1 list to iterate over another list

i want to pre-populate a kubernetes cluster with namespaces and their respective secrets for our apps and services. For that i would like to be able to specify 2 lists, 1 list with secrets, and 1 list with namespaces. Each namespace in the list has…
rinini
  • 51
  • 1
  • 2
  • 6
4
votes
2 answers

Creating a CloudWatch Scheduled Event with arbitrary data in the `detail` field

I'd like to run a Lambda task on a fixed schedule, with some configuration passed into it by the CloudWatch Scheduled Event that triggers the task. Looking at the documentation here, I can see that Cloudwatch Scheduled Events look like this: { …
Chris
  • 347
  • 3
  • 6
  • 13
2
votes
2 answers

Using "Let's Encrypt" TLS with a Google Load Balancer? (Kubernetes/GKE)

I've been trying to test out Kubernetes on Google Cloud, but would need HTTPS/TLS (only) exposed on the deployed application. To start, I just followed this tutorial, which worked fine for plain HTTP over port 80:…
2
votes
1 answer

program 'go' is currently not installed on ubuntu 16.04

I ran a sudo apt-get install golang-1.9 from my regular user account on my ubuntu 16.04 and it said everything installed correctly. So then I typed go version and verified I had the right version. Then I shut down my computer. Then I turned on my…
John
  • 7,153
  • 22
  • 61
  • 86
1
vote
0 answers

Go running on App Engine terminated by container exit (1)

I have a Go app running on Google App Engine. From the logs, I find this error container exit (1). Occasionally, you will see the upstream prematurely closed connection while reading response header from upstream, client: error when the container…
1
vote
2 answers

K3S arm64 distributed files systems

I deployed a K3S Cluster on arm64 and I need to have a DFS directly on-premise, It will be better to have it running on the kubernetes stack. Regarding DFS choices there are some options, but...: GlusterFS: Unfortunately CSI drivers is not currently…
GoA Oz
  • 113
  • 4
1
vote
1 answer

Golang PUT using form data and file

I'm fairly new to learning golang, but I hope someone can help... I'm trying to replicate a process I can do using curl. Essentially I need to create a PUT request, using form data and the contents of a file. The `curl request looks like this: curl…
Anonymous
  • 21
  • 2
1
vote
0 answers

Relate session and NAT logs in near real-time

I have a user activity logger and querying system for an ISP with very high log events rate (5k-10K /second). It needs to relate both Radius/Session and NAT Syslogs based on a common InternalIP field. Each session has two events Start and Stop. A…
iamadnan
  • 11
  • 1
1
vote
0 answers

Increase TCP server listen backlog size on Windows

I'm developing TCP server in Go which should be able to accept up to 500 simultaneous client connections. I'm using net.Listen("tcp4", listenerAddress) to create my TCP listener. I had a problem on Linux when all the 500 clients connect at the same…
jozols
  • 111
  • 2
0
votes
1 answer

Weird issue with linux network namespace switching

I'm writing a small prometheus exporter in Go to publish network metrics for docker containers. There is a goroutine which gathers the values in the following way: 1. Get all docker containers using docker SDK 2. Locks the goroutine in its current…
cosenmarco
  • 11
  • 3
0
votes
1 answer

Google App Engine Instance is abruptly shutting down on Standard Environment

We are using Google App Engine in Standard environment to ingest large amount of data to Google Cloud Firestore with below configuration: instance_class: B4 basic_scaling: instances: 1 The overall data ingestion of 20GB takes around 1.5 hours.…
0
votes
1 answer

Getting a serving URL for an object in Google Cloud Storage

We have a Golang application running on AppEngine, that uses the following packages: "cloud.google.com/go/storage" apiStorage…
0
votes
1 answer

Error running an Docker container or docker compose with postgres, golang and Debian 11, Agora appbuilder backend

I spun up a Debian 11 EC2 on AWS, and installed postgres 14.5 on it and docker and docker compose on it.I added a superuser to postgres of "admin' with a password. I created my docker-compose.yml file and a .env file. When I try to use the…
gwhiz
  • 5
  • 2
0
votes
0 answers

Benchmarking applications

I'm looking to benchmark server platforms (bare metal vs virtual machines) and calculate difference in performance + cost that comes while migrating certain workloads from bare metal to virtualised ones. I'm looking for a list of applications which…
helloworld
  • 21
  • 1
0
votes
0 answers

Connection timed out issue with Postfix

I wrote a Golang program that sends reports based on a ticker. Those reports are sent by mail using Postfix on a CentOS 7 machine. My problem is that the mail is sent successfully to users inside the same machine, but not to outside email…
Lique
  • 1
1
2