profile
viewpoint
Aldira Putra Raharja dirathea Bandung, Indonesia Platform Engineer with QA Engineering Background. Kubernetes, Docker, Selenium Web Driver, Go, NodeJS

dirathea/kubectl-unused-volumes 17

List all unused volumes on your cluster

dirathea/azkaban-docker 4

Azkaban dockerized

dirathea/UrbanQuizBot 4

A chatbot for guessing the word from the definitions

salestock/sersan 3

Auto-scalable Selenium/Webdriver cluster in Kubernetes

dirathea/krew-index 1

Plugin index for https://github.com/kubernetes-sigs/krew. This repo is for plugin maintainers.

dirathea/ytschatbot 1

A chatbot for yts

dirathea/argo 0

ArgoProj: Get stuff done with Kubernetes.

dirathea/azkaban-helm-chart 0

Helm chart for azkaban

dirathea/Boostnote 0

A markdown editor for developers on Mac, Windows and Linux.

dirathea/capture-website 0

Capture screenshots of websites

issue commentinlets/inlets-operator

Feature request: customise GCE plan

Hi @alexellis Yes, for my personal use I could fork this repo and build on my own.

For now, I will stick with the free f1-micro. But I might willing to spend a little more on this machine like g1-micro, or maybe e1-small, etc.

dirathea

comment created time in 12 days

issue openedinlets/inlets-operator

Customizable Plan

<!--- Provide a general summary of the issue in the Title above --> Currently Exit Node plan is hardcoded here. I think it better to have some kind of customization on this plan.

Expected Behaviour

<!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> Plan should be customizable with the default value if not provided.

Current Behaviour

<!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If suggesting a change/improvement, explain the difference from current behavior --> The operator use hardcoded value for plan (machine type).

Possible Solution

<!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> Add additional run args or environment variable

Context

<!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> I'm using this operator for help me extending my GCE credits for experiments. Going forward before I started using native GCE HTTP Load Balancer (that cost so much money than this approach), I want to scale the tunnel first.

created time in 12 days

startedinlets/inlets-operator

started time in 12 days

issue commenttherealkenc/libudev-stub

Unable to remove libudev-stub from WSL

I can confirm that this steps really do fix the issue.

I also got messed up when trying to run google chrome on wsl, and broke my apt-get.

What I do as follows :

➜ ls -l /lib/x86_64-linux-gnu/libudev*
lrwxrwxrwx 1 root root     17 Mar  5  2017 /lib/x86_64-linux-gnu/libudev-stub.so -> libudev-stub.so.1
lrwxrwxrwx 1 root root     21 Mar  5  2017 /lib/x86_64-linux-gnu/libudev-stub.so.1 -> libudev-stub.so.1.6.4
-rw-r--r-- 1 root root  66560 Mar  5  2017 /lib/x86_64-linux-gnu/libudev-stub.so.1.6.4
lrwxrwxrwx 1 root root     38 Aug 25 20:19 /lib/x86_64-linux-gnu/libudev.so.1 -> /lib/x86_64-linux-gnu/libudev.so.1.6.9
-rw-r--r-- 1 root root 174272 Apr 22 16:04 /lib/x86_64-linux-gnu/libudev.so.1.6.17

Then do the symlink

sudo ln -fs /lib/x86_64-linux-gnu/libudev.so.1.6.17 /lib/x86_64-linux-gnu/libudev.so.1
rickynyairo

comment created time in a month

issue closeddirathea/kubectl-unused-volumes

panic: runtime error: invalid memory address or nil pointer dereference

Thanks for the tool. It's really cool job.

But on some clusters I get the following error:

$ kubectl unused-volumes


[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf90404]

goroutine 1 [running]:
github.com/dirathea/kubectl-unused-volumes/pkg/workload.job.IsEmpty(...)
        /Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/pkg/workload/workload.go:111
github.com/dirathea/kubectl-unused-volumes/pkg/plugin.RunPlugin(0xc0001b3550, 0xc000408700, 0xc0004496d0, 0xc000139d58, 0x10d99f1)
	/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/pkg/plugin/plugin.go:65 +0x32c
github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli.RootCmd.func2(0xc000285180, 0x1eb2c30, 0x0, 0x0, 0x0, 0x0)
	/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli/root.go:30 +0x31
github.com/spf13/cobra.(*Command).execute(0xc000285180, 0xc00003a1d0, 0x0, 0x0, 0xc000285180, 0xc00003a1d0)
	/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/cobra@v0.0.4/command.go:762 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0xc000285180, 0x441d1a, 0x1e02040, 0xc00005c778)
	/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/cobra@v0.0.4/command.go:850 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/cobra@v0.0.4/command.go:800
github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli.InitAndExecute()
	/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli/root.go:50 +0x2b
main.main()
	/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/main.go:12 +0x20```


I noticed this error occurs with some namespaces where are no any pvc/pv(s) , but job/cronjob exist and a lot pods in status `Completed`

closed time in 2 months

dkhodakivskyi

issue commentdirathea/kubectl-unused-volumes

panic: runtime error: invalid memory address or nil pointer dereference

It should be fixed in latest release https://github.com/dirathea/kubectl-unused-volumes/releases/tag/v0.1.2

dkhodakivskyi

comment created time in 2 months

delete branch dirathea/kubectl-unused-volumes

delete branch : workflow/setup-git-publish-workflow

delete time in 2 months

delete branch dirathea/kubectl-unused-volumes

delete branch : core/krew-template

delete time in 2 months

delete branch dirathea/kubectl-unused-volumes

delete branch : update-readme

delete time in 2 months

created tagdirathea/kubectl-unused-volumes

tagv0.1.2

List all unused volumes on your cluster

created time in 2 months

push eventdirathea/kubectl-unused-volumes

Aldira Putra Raharja

commit sha 21c326f9652fa73324b49168f8859daa11b63e91

[core] add krew template file (#6)

view details

push time in 2 months

PR merged dirathea/kubectl-unused-volumes

[core] add krew template file

Summary

Oops forgot to add krew template file from here

+50 -0

0 comment

1 changed file

dirathea

pr closed time in 2 months

create barnchdirathea/kubectl-unused-volumes

branch : core/krew-template

created branch time in 2 months

delete tag dirathea/kubectl-unused-volumes

delete tag : v0.1.2

delete time in 2 months

created tagdirathea/kubectl-unused-volumes

tagv0.1.2

List all unused volumes on your cluster

created time in 2 months

delete branch dirathea/kubectl-unused-volumes

delete branch : core/setup-workflows

delete time in 2 months

push eventdirathea/kubectl-unused-volumes

Aldira Putra Raharja

commit sha 1a7e31ab56c1a2ecf046d7ba9b8f47650919273a

fix github action path (#5)

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha a245bb5cb57b55d30bd4bacc419731daa50c1539

fix indentation

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha ab1e07e94c7e352db93d60f28cfd4882c676a5ce

fix syntax

view details

push time in 2 months

create barnchdirathea/kubectl-unused-volumes

branch : core/setup-workflows

created branch time in 2 months

delete tag dirathea/kubectl-unused-volumes

delete tag : v.0.1.2

delete time in 2 months

created tagdirathea/kubectl-unused-volumes

tagv.0.1.2

List all unused volumes on your cluster

created time in 2 months

delete branch dirathea/kubectl-unused-volumes

delete branch : workloads/add-unit-test-and-fix-panic

delete time in 2 months

push eventdirathea/kubectl-unused-volumes

Aldira Putra Raharja

commit sha 62ec0bc84a0314422c13dee5d63aea209ee69c15

fix panic on detecting job (#4)

view details

push time in 2 months

PR merged dirathea/kubectl-unused-volumes

fix panic on detecting job

Summary

Fix nil pointer on volume checking for job workload.

Related issue : #3

+293 -30

0 comment

10 changed files

dirathea

pr closed time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha 7cf191120b0a80b1b1505f5d2305b0ad092fe74c

Add example on readme

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha ca1e264fc9718469f7c463bc8740aa4821a6098c

release via github action

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha 6c2766ebbe1ec82b36b8b7aa82c92c470677b785

add example on help

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha 0e099e11d1b2adc773b0061ad23e976a567bcb40

Simplify implementation

view details

push time in 2 months

push eventdirathea/kubectl-unused-volumes

dirathea

commit sha f1d9d8fa1b5e74596075559f6ff77614608def02

add no header params

view details

push time in 2 months

issue commentdirathea/kubectl-unused-volumes

panic: runtime error: invalid memory address or nil pointer dereference

Hi @dkhodakivskyi, I think the main issue is on the Job Workload filter at https://github.com/dirathea/kubectl-unused-volumes/blob/master/pkg/workload/workload.go#L111, the completions on job spec is optional, so the value might be nil.

dkhodakivskyi

comment created time in 2 months

issue commentdirathea/kubectl-unused-volumes

panic: runtime error: invalid memory address or nil pointer dereference

Hi @dkhodakivskyi thanks for the issues, I will look into it.

dkhodakivskyi

comment created time in 2 months

create barnchdirathea/conf

branch : issuehunt/fix-defaults-from-schema

created branch time in 3 months

fork dirathea/conf

Simple config handling for your app or module

fork in 3 months

more