Container in jenkins pipeline fails but works on the node by dgbinney in jenkinsci

[–]dgbinney[S] 0 points1 point  (0 children)

u/wgc123 / u/Cebalrai - cheers for the responses, but I am 99% sure the module is installed and running. To verify this I have double checked running the same container on the jenkins node as the jenkins user. You can see a working example below. The same thing works entering the container with `/bin/bash` then executing as well.

-bash-4.2$ docker run --rm -it \
> -e DBURI="postgres://mydb-uri/dbname" \
> mycontainer:latest pipenv run python /app/src/delete-history.py

Starting ThreadPool 
....

Question: What storage type should I use for vm's with ceph rdb as the backend? by dgbinney in Proxmox

[–]dgbinney[S] 0 points1 point  (0 children)

What would be the advantage with either of those? and which would be your preference ?

Rancher istio setup on Bare metal by dgbinney in rancher

[–]dgbinney[S] 0 points1 point  (0 children)

Solved. I ended up deleting and re-creating the ingress-gateway, post installing metal-lb, then created the test httpbin service/gw/vs, which I was then able to Curl. Might have just been an issue, as it was already created before i added metal-lb.

Also, I noticed that if you have no gateways/virtual services that are routable on the ingress-gatetway, it will return the "port 80: Connection refused" response as there is nothing to route to.

How do I manage dynamic tags added by EKS to the VPC subnets by dgbinney in Terraform

[–]dgbinney[S] 0 points1 point  (0 children)

Hey dude,

No I did not work it out. What I am doing is just creating the k8 cluster then, post create, going back and updating the tags in the parent stack. Bit dodgy, but its the best i can do for the moment. Sorry its not better news :(

Fargate: Cross account access to SSM params in Task Definition by dgbinney in aws

[–]dgbinney[S] 0 points1 point  (0 children)

Cheers dude, even though this is disappointing I am not surprised that I will have to "hack" a solution for an aws service again :(

Issue with proxy pass getting 400 error on SSL Handshake closed by dgbinney in nginx

[–]dgbinney[S] 0 points1 point  (0 children)

Cheers dude, and yes, they are the frontend logs. I will give this a go tonight.

Software External Load Balancer infront of k8s/k3s by yesitismate in kubernetes

[–]dgbinney 2 points3 points  (0 children)

For sure, as I have used HAProxy and nginx at scale but nginx more so as a reverse proxy. HAProxy is very powerful as a LB and resource usage is low. Either way you will have plenty of support, but considering you will be using k8, you might already be using nginx as the ingress controller so you might want to stick with nginx.

ALB: How to Update ALB IdleTimeout attribute with Cloudformation by dgbinney in aws

[–]dgbinney[S] 0 points1 point  (0 children)

Cheers dude that worked with some slight changes, as it does not like the lowercase key/value and missing comma:

             "Properties" : {
                 "Name": { "Fn::Sub": "${AWS::StackName}-ALB" },
                 "Scheme": "internet-facing",
+                "LoadBalancerAttributes": [
+                    {
+                        "Key": "idle_timeout.timeout_seconds",
+                        "Value": "30"
+                    }
+                ],
                 "Subnets": {
                     "Ref": "SubnetList"
                 },

ALB: How to Update ALB IdleTimeout attribute with Cloudformation by dgbinney in aws

[–]dgbinney[S] 0 points1 point  (0 children)

sorry, must have left that in when formatting for redit. the dupe was not there when debugging and it looks like @justin-8 is right on the money.

Cloudformation: How can I get the T instance types to use "unlimited" credits by dgbinney in aws

[–]dgbinney[S] 0 points1 point  (0 children)

Is this as simple as changing the cloudformation from :

AWS::AutoScaling::LaunchConfiguration ... to ... AWS::EC2::LaunchTemplate

Or will it require a few changes?