chore(users): grfn -> aspen
Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
0ba476a426
commit
82ecd61f5c
478 changed files with 75 additions and 77 deletions
34
users/aspen/system/home/modules/development/kube.nix
Normal file
34
users/aspen/system/home/modules/development/kube.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
kubectl
|
||||
kubetail
|
||||
sops
|
||||
kubie
|
||||
# pkgs-unstable.argocd # provided by urbos
|
||||
];
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
"kc" = "kubectl";
|
||||
"kg" = "kc get";
|
||||
"kga" = "kc get --all-namespaces";
|
||||
"kpd" = "kubectl get pods";
|
||||
"kpa" = "kubectl get pods --all-namespaces";
|
||||
"klf" = "kubectl logs -f";
|
||||
"kdep" = "kubectl get deployments";
|
||||
"ked" = "kubectl edit deployment";
|
||||
"kpw" = "kubectl get pods -w";
|
||||
"kew" = "kubectl get events -w";
|
||||
"kdel" = "kubectl delete";
|
||||
"knw" = "kubectl get nodes -w";
|
||||
"kev" = "kubectl get events --sort-by='.metadata.creationTimestamp'";
|
||||
|
||||
"arsy" = "argocd app sync --prune";
|
||||
};
|
||||
|
||||
home.file.".kube/kubie.yaml".text = ''
|
||||
shell: zsh
|
||||
prompt:
|
||||
zsh_use_rps1: true
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue