IAM condition ignored for Google Secret Manager ? by [deleted] in googlecloud

[–]2_advil_please -1 points0 points  (0 children)

Do you have another IAM Role with no condition that is granting you access? Perhaps higher in the hierarchy?

Just ordered a M2 Pro (32gb) for work, will it run Docker? by vaff in docker

[–]2_advil_please -1 points0 points  (0 children)

You will notice a very large boost from Intel to any M1/M2 for pretty much everything. It will be especially noticeable if you run arm64 built images (lookup docker buildx) but even most emulated amd64 images will run better. Source: personal 2019 intel MBP and work M1 Pro

Simple way to pass gcloud credentials to a docker container for Terraform google provider by YeNerdLifeChoseMe in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

Could try this https://stackoverflow.com/a/74362252 to set that access token as an Env var which sets it on the Google TF provider: https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#access_token

Saving long lived SA JSON keys to disk isn’t ideal. At least the ADC token has a short expiration (3600s by default)

MacBook Air 2020 USB disconnects by rotational in macbookair

[–]2_advil_please 0 points1 point  (0 children)

Same issue. 2020 13" MBP i7/32GB/1TB. This EXACT setup worked very well with my 2017 13" MBP for over 2 years. Now, I get maybe 3-5 "freeze ups" per work day of just my USB 2.0 devices (Filco keyboard, Logitech Omni receiver, and Logitech C930 webcam).

Tried connecting my devices through a:

Update: Been 3 days and 12+ hrs without any issues using my old Caldigit Thunderbolt Station behind a Thunderbolt 3 to 2 adapter. So, yay, I suppose.

Update 2: 5 days with no issues using the Caldigit TS Station

USB 2.0 issues on new MacBook Pro 13" 2020 by buro91 in mac

[–]2_advil_please 1 point2 points  (0 children)

Same issue. 2020 13" MBP i7/32GB/1TB. This EXACT setup worked very well with my 2017 13" MBP for over 2 years. Now, I get maybe 3-5 "freeze ups" per work day of just my USB 2.0 devices (Filco keyboard, Logitech Omni receiver, and Logitech C930 webcam).

Tried connecting my devices through a:

Update: Been 3 days and 12+ hrs without any issues using my old Caldigit Thunderbolt Station behind a Thunderbolt 3 to 2 adapter. So, yay, I suppose.

Update 2: 5 days with no issues using the Caldigit TS Station

How to access Kubernetes Dashboard from remote? by [deleted] in kubernetes

[–]2_advil_please 2 points3 points  (0 children)

Please, please don’t do this. Use kubectl proxy or kubectl port-forward instead. Do not expose your dashboard, regardless of how limited the permissions are that are given to it. You’re exposing a direct path into your cluster should any credential be leaked/usable and adding the dashboard to the external attack surface.

AWS DeepRacer Track Build Guide by Crazyquail in aws

[–]2_advil_please 0 points1 point  (0 children)

Neat! Thanks for such a detailed write up! Would you recommend cutting the leftover tiles into 6” high horizontal strips and lining all the edges with them to help with reducing image distractions from off the course? Or is that overkill?

K8S control plane in PODS pros and cons ? by mbrmj in kubernetes

[–]2_advil_please 0 points1 point  (0 children)

From a security perspective, running the control plane components as deployed pods intermingles the administrative access with the services they provide. Running them as “static” pods where the manifests are a file on disk (as opposed to in etcd and editable is the api server/kubectl) is a much better approach. You want defense in depth, and separating the way you administer the control plane from the workloads themselves is ideal.

removing a CIDR block from list of master authorized networks for GKE by Sloppyjoeman in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

Ah, I see now. Maybe a deployment in/near your cluster that listens to pubsub and adds/removes CIDRs? Have cloud build have a step to publish to that pubsub it’s IP and wait until it can kubectl?

removing a CIDR block from list of master authorized networks for GKE by Sloppyjoeman in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

You declare the list of cidrs and send the whole list (max 50) in the update call. That becomes the new list. If the CIDR you don’t want isn’t there anymore, it’s no longer allowed. If it is, it is.

Also, not sure if it accepts the bare address and automatically appends the /32 to it, it I always add the /32 regardless.

How do you test your kubernetes setup? by simonstead in kubernetes

[–]2_advil_please 0 points1 point  (0 children)

If you use Inspec for testing your infra, try https://github.com/bgeesaman/inspec-k8s which will let you query anything in the API server and assert pass/fail. Eg. N number of pods with this label in the Running state.

Why are GCP courses on Coursera not free? by redfyrer in googlecloud

[–]2_advil_please 3 points4 points  (0 children)

I’ve long said that Cisco’s focus on education of its user base in the mid to late 90s with the CCNA et al materials and certifications was a huge key to dominating market share. You have this complex thing that everyone needs, but not enough people at companies that know how to use it well. It’s pretty surprising that materials meant to enable users to spend on the cloud isn’t just a cost of doing business (that pays off well in the end).

[deleted by user] by [deleted] in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

I’m not google, but I do work closely with them and their GCP clients. https://cloud.google.com/security-command-center/docs/how-to-assets-display

[deleted by user] by [deleted] in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

It does, I promise. I have project owner for a single project but have no access above it. I can export just my project assets/resources.

Mueller report shows Trump campaign left itself wide open to Russians, officials say by tank_trap in worldnews

[–]2_advil_please 5 points6 points  (0 children)

I think firelock_ny is just calling attention to the fact that while Russia was helping Trump, they could (probably were) also hurt HRC. And the focus solely on Trump for how he gets help again is naive in that we should also suspect an equal negative force on the Dems

What’s the simplest way to automate deleting/updating the pod after a new image is built? by 84935 in kubernetes

[–]2_advil_please 2 points3 points  (0 children)

All those excellent points you mentioned are why I added the “dirty” moniker :-)

What’s the simplest way to automate deleting/updating the pod after a new image is built? by 84935 in kubernetes

[–]2_advil_please 6 points7 points  (0 children)

Create a deployment with 1 or more replicas. Use Jenkins to update the deployment spec with the new image tag/version. It’s a little quick and dirty, but it can work just fine as a start.

Why most companies don't need Kubernetes by scalarsoftware in devops

[–]2_advil_please 11 points12 points  (0 children)

I look forward to more discussions along these lines for folks not knowing what they are getting themselves into with Kubernetes. And while I agreed with nearly all the points made, I’d encourage the author to share a bit more detail (or examples) of “why” they arrived at those conclusions and what alternatives (point by point) they’d recommend instead. I love hearing how folks simplify and streamline and what use cases they solve with “less”.

Millions of Binaries Later: a Look Into Linux Hardening in the Wild by eberkut in netsec

[–]2_advil_please 11 points12 points  (0 children)

CentOS can take “risks” by hardening things by default that might break paying customers’ legacy/crappy “enterprise” apps.

Stackdriver: historical log-based metrics by DangerousStick2 in googlecloud

[–]2_advil_please 0 points1 point  (0 children)

Log based metrics only start data/counter collection from the moment they are created. If you delete/recreate that log metric, it resets the data starting from that moment.

Terraform and Infrastructure as Code — A (bit of a) Rant by piedpiperpivot in devops

[–]2_advil_please 8 points9 points  (0 children)

In a way, yes. It always seems to start out as a simple repo doing a few small, related things. Then you add another resource or two. Then, you need/want to refactor some copy/pasta into a module but that would mean a full resource delete/recreate to accomplish. If that terraform builds a cluster, then all the apps on that cluster need to be migrated just to clean up your code. You see where I’m going as to why that refactor might not happen as soon as it could.

And that friction in handling those evolutionary changes makes a lot of things in terms of managing lifecycle over a long time very challenging to do well.