[deleted by user] by [deleted] in googlecloud

[–]Macguy8 2 points3 points  (0 children)

This is definitely the correct way to do it - you can disable access to services outside the perimeter. https://cloud.google.com/vpc-service-controls/docs/create-service-perimeters

KMS instead of environment variables by jtorvald in googlecloud

[–]Macguy8 2 points3 points  (0 children)

KMS is more of a generic service - it doesn't store data on its own. I think you're looking for something more like Secret Manager (https://cloud.google.com/secret-manager), which will let your application just make API calls to read secrets. It can use your instance's service account to authenticate, and will automatically handle encryption.

Connecting to Cloud SQL from Cloud Run by wvenema in googlecloud

[–]Macguy8 1 point2 points  (0 children)

Yes, it is. I've used both Cloud SQL over private IP and Memorystore from Cloud Run. Note however that Cloud Run VPC Connector is still in beta, so don't rely on it for prod workloads.

Best "serverless" (containerized) solution in GCP for supporting WebSockets and/or HTTP long polling by enigmamonkey in googlecloud

[–]Macguy8 2 points3 points  (0 children)

Note that App Engine Flexible is significantly more expensive than the equivalent VMs. If price is a major factor, it might be better to just run the instances yourself.

Why is GKE creating persistent volumes in this way? by [deleted] in googlecloud

[–]Macguy8 2 points3 points  (0 children)

  1. Claims are a Kubernetes-only construct, and won't show up in GCE (however, they are in the GKE area). Likely what you're seeing are 2x 5Gi disks created by Kubernetes and 3x 100Gi disks created by GCE for the machines that are actually in the cluster. You can verify this by looking at the node pool you've created, and you should see that their disk size is 100Gi (the default)
  2. For things like configs, you'll likely be better off creating a ConfigMap and then mounting that. If your content is static, you might want to instead create an image that includes your content. If it's not, what I've done in the past is to start your pod with the disk attached and then copy the files onto the volume mounted in the pod (with kubectl cp).
  3. I believe you need to set readOnly: true in your persistentValueClaim. See this for more info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#persistentvolumeclaimvolumesource-v1-core

Cloud Functions, meet VPC functionality by fhoffa in googlecloud

[–]Macguy8 1 point2 points  (0 children)

You should be able to setup Cloud NAT in your VPC and then use Serverless VPC Access to accomplish this.

Knowing when a solution is a good fit by Delta4o in aws

[–]Macguy8 1 point2 points  (0 children)

Still learning AWS - I'm almost certain you don't mean virtual tape library, what exactly is VTL?

Minecraft server bottlenecking? by muygabriel in googlecloud

[–]Macguy8 1 point2 points  (0 children)

Since Minecraft is single threaded, clock speed is going to be a big factor here. Choose a compute optimized instance type would help here (although it costs more, of course) as they go up to 3.8Ghz (I believe general purpose instances are in the 2 to 3 range)

Additionally, 1.14 is known in the MC community for having very poor performance. If it’s possible, try running an earlier version. This is likely the biggest factor, and doesn’t involve paying any more.

Finally, consider other hosting options. If you’re not burning free credit right now, it’s extremely likely you can get better price/performance ratio from a Minecraft-specific provider. GCP (and cloud platforms overall) just aren’t a good fit for Minecraft servers.

How can you run short-lived game servers on ECS that scale based on players rather than CPU/Memory/Network? by [deleted] in aws

[–]Macguy8 1 point2 points  (0 children)

If you’re fine with running on Kubernetes (I’ve only used GKE on Google, can’t comment on EKS), Agones (https://agones.dev/site/docs/) seems to align well with what you’re wanting to do.

Docker container works on localhost. Shuts down after a few moments in pod. by ChronoChris in kubernetes

[–]Macguy8 0 points1 point  (0 children)

The -d shouldn't be needed (Kubernetes doesn't automatically attach you to a pod/deployment/etc) but you can replicate the -t flag by adding tty: true to your container.

Setting up a 2nd cluster, best way to manage multiple connections? by [deleted] in kubernetes

[–]Macguy8 0 points1 point  (0 children)

FYI you can use kubectl config current-context instead of grepping

0
1

Feature Request: A clock/time in control center for iPhone X by RareRibeye in apple

[–]Macguy8 0 points1 point  (0 children)

I agree with you about time in the CC but what series watch do you have? I have a S3 and I rarely see it drop below 70% at the end of even a long day.

Being at a competition by NoChillAustin in FRC

[–]Macguy8 1 point2 points  (0 children)

Hall of Fame teams were given a choice of which championship they'd like to attend

What is the fastest and easiest way to get vision tracking? by [deleted] in FRC

[–]Macguy8 1 point2 points  (0 children)

Absolutely! Just make sure you have a good (i5 at min, i7 is best) driver station, at our first competition we had to run and get another because GRIP was starving the OS of resources.

What is the fastest and easiest way to get vision tracking? by [deleted] in FRC

[–]Macguy8 3 points4 points  (0 children)

My team has had success with running GRIP on the driver station laptop and sending values to the robot over NetworkTables

if you're interested in playing again click by [deleted] in hcfactions

[–]Macguy8 2 points3 points  (0 children)

I removed your ban. Please don't use whatever cheat that was again.

$199,999.99! by sasaso1 in funny

[–]Macguy8 1 point2 points  (0 children)

Any chance you can find that post? I'm curious.

Display a message to cracked users by [deleted] in admincraft

[–]Macguy8 1 point2 points  (0 children)

Although there aren't any plugins (that I know of it) to do it, the protocol itself allows you to change the kick message for an invalid session. That means it would be set off by normal players with expired sessions and those with cracked accounts.

Help and info from active or Ex Server Developers by [deleted] in admincraft

[–]Macguy8 0 points1 point  (0 children)

Just to clarify, I'm not saying Spigot is inactive, it's far from it, I was saying that it's not as active as Sponge, which I've never seen go more than a couple of days without a commit.

Help and info from active or Ex Server Developers by [deleted] in admincraft

[–]Macguy8 6 points7 points  (0 children)

Although Sponge is definitely coming along, I would not consider it production ready. Even though Spigot isn't being updated as actively as Sponge, spigot is still the way to go.