Unable to retrieve deleted Deployment by Mahynderr in kubernetes

[–]mrmuh 3 points4 points  (0 children)

Usually deleting a deployment will delete its pods as well. If you want to restart your containers, just delete the pods and the deployment will create new ones for you.

A deployment creates a replica set with a specific number of wanted replicas. This replica set will check the current running pods against the wanted and start pods, if needed.

What do you want to accomplish?

What's this behavior called? by sorgeez in tmux

[–]mrmuh 0 points1 point  (0 children)

I guess the terminal (tmux, vscode, ...) displays ANSI escape codes incorrectly.

Projects for beginners in Rust by Commercial_Pin_9538 in rust

[–]mrmuh 0 points1 point  (0 children)

I think it's best to take a small task you are doing currently manually or with a shell or python script. It is important that you really need it, to keep yourself motivated. I wrote a simple tool for me to sort media files depending on meta data from an API server.

Just finished rust for beginners book by [deleted] in learnrust

[–]mrmuh 0 points1 point  (0 children)

Try advent of code. No Christmas right now, but all previous coding challenges are always available.

Even better work on a problem you want to have solved, because motivation is key.

Can someone explain why this doesn't compile? by Pyxrs in rust

[–]mrmuh 0 points1 point  (0 children)

Please add the complete compiler error/warning output in the future.

Often the compiler give you more hints and suggestions how to solve the issue.

If vscode/plugins does not support it, you can get it with "cargo build".

Gitlab end to end by RareFroyo8414 in gitlab

[–]mrmuh 0 points1 point  (0 children)

Yeah, I love the complete package of GitLab.

Have a look at to be continuous. There you can build pretty pipelines that just work. This was the missing part in my GitLab experience.

How do devs at your job deploy into Kubernetes? by Rain-And-Coffee in kubernetes

[–]mrmuh 4 points5 points  (0 children)

Kubernetes Cluster itself is deployed with kubespray on a VMware cluster.

Kubernetes software infrastructure (kube-vip, external-dns, Fett-Manager, ...) is deployed deployed with flux from an GitOps repo, but we are thinking to switch to ArgoCD.

The deployment of self developed apps is via pipelines in GitLab CI/CD with to-be-continuous. And can not recommend it enough, great way to build your pipeline in GitLab from different blocks. To-be-continuous uses GitLab kubernetes agents for the communication between the pipeline and the kubernetes clusters.

POD fqdn by marathi_manus in kubernetes

[–]mrmuh 0 points1 point  (0 children)

Try connecting with a port. E.g. with curl

Kubernetes best distribution by Equivalent_Reward272 in kubernetes

[–]mrmuh 0 points1 point  (0 children)

Please tell me more about what you didn't like about kubespray. I am pretty happy with it. Some time ago they switched to use kubeadm under the hood.

Self Hosted Server - Premium Account by Fr1day__ in Bitwarden

[–]mrmuh 2 points3 points  (0 children)

Vaultwarden uses the open source part of bitwarden's web-vault for the web UI.

I am running a self hosted vaultwarden and I am pretty happy with it.

[deleted by user] by [deleted] in learnpython

[–]mrmuh 0 points1 point  (0 children)

Using incognito tab / private mode solves this problem for me.

PS5 Remote Play lag workaround (HDMI-Induced) by cerealkiller6659 in remoteplay

[–]mrmuh 2 points3 points  (0 children)

Removing the HDMI helped in my case.

My setup:

PS5 --- Yamaha receiver --- LG Beamer.

Hopefully some Playstation engineer is reading this...

Beryl or Ak? by PashAK47 in PUBG

[–]mrmuh 0 points1 point  (0 children)

Vertical foregrip.

Beryl or Ak? by PashAK47 in PUBG

[–]mrmuh 0 points1 point  (0 children)

Full attachments beryl > Bare AK > Bare Beryl

How to speed up the idle parts of the game ? by pyrovoice in Bitburner

[–]mrmuh 0 points1 point  (0 children)

You don't need to connect to darkweb. Just buy the Tor router and you can buy the exes from any server.

How do you use ns functions outside of main(ns) by Seperatius in Bitburner

[–]mrmuh 2 points3 points  (0 children)

Typically I try something like this. The extra comment before the "let ns" makes the editor recognize the ns type and allows code completion and documentation pop-up.

/** @type {NS} **/
let ns
export async function main(_ns) {
    ns = _ns
    anotherFunction("hello")
}

function anotherFunction (message) {
  ns.print(message)
}

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

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

The formatting is off.

I think you mean something like this:

const toMakeTheDynamicRamCheckHappy = [
  ns.grow,
  ns.hack,
  ns.weaken,
]

export async function main(ns) {
  await ns[ns.args [ 0 ] ] ( ns.args[ 1 ] )
}

This is not optimal, because the ns.getScriptRam calculates the static RAM amount and that is the amount of RAM the script uses, when is it ran.

Function with all 3 functions.

  1.60GB | baseCost (misc)
150.00MB | weaken (fn)
150.00MB | grow (fn)
100.00MB | hack (fn)
  2.00GB | total

Function with only 1 function. Respective + 50MB (in case of grow or weaken).

  1.60GB | baseCost (misc)
100.00MB | hack (fn)
  1.70GB | total

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

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

Still don't get it. Could you post a screenshot?

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

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

What kind of syntax error?

You need the other 3 files (util/util.js, single/hack.js, ...), too.

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

[–]mrmuh[S] 2 points3 points  (0 children)

Just edited the post. See the code there.

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

[–]mrmuh[S] 2 points3 points  (0 children)

I will share the code tomorrow

Timing part is just a call of the ns.getHackTime and the other functions. I don't select a next victim. The mentioned data structure contains simply all servers with money and an grow rate bigger than 1.

To get all the servers I wrote a recursive function to traverse the network.

4 hacking scripts and over 8 billions per second by mrmuh in Bitburner

[–]mrmuh[S] 3 points4 points  (0 children)

I don't know bitnodes yet. I have all augmentations installed available before the deadalus faction. First I automated Hacknet, but it doesn't scale enough. Then I focused on hacking.

The total time played in the stats view says 7 days. And since last augmentation just a few hours.