{"id":19656203,"url":"https://github.com/daggerok/survey","last_synced_at":"2026-04-16T05:03:55.907Z","repository":{"id":151042148,"uuid":"220389704","full_name":"daggerok/survey","owner":"daggerok","description":"In progress: Cloud Native Survey System","archived":false,"fork":false,"pushed_at":"2019-11-09T02:15:59.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T00:41:39.346Z","etag":null,"topics":["jib","jib-maven-plugin","k8s","kubernetes","skaffold","skaffold-example","spring","spring-boot","spring-mvc","springboot","springframework","springmvc"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daggerok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-08T04:56:42.000Z","updated_at":"2019-11-09T02:16:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"464cbef9-34a9-42ed-a6d1-160c6ec1430e","html_url":"https://github.com/daggerok/survey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsurvey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsurvey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsurvey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsurvey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/survey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964579,"owners_count":19885767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jib","jib-maven-plugin","k8s","kubernetes","skaffold","skaffold-example","spring","spring-boot","spring-mvc","springboot","springframework","springmvc"],"created_at":"2024-11-11T15:27:01.733Z","updated_at":"2026-04-16T05:03:55.879Z","avatar_url":"https://github.com/daggerok.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yet another k8s playground [![Build Status](https://travis-ci.org/daggerok/survey.svg?branch=master)](https://travis-ci.org/daggerok/survey)\n\nStatus: IN PROGRESS\n\n## TODO\n\nImplement voting system like that:\n\n```\n   User   voting-system    votes-service      H2 or PG\n    */        +----+         +-------+         +----+\n   /|  \u003c----\u003e | UI | \u003c-----\u003e | Store | \u003c-----\u003e | DB |\n   / \\        +----+         +-------+         +----+\n        HTTP         RSocket            R2DBC\n```\n\n## k8s k3d k3s\n\nInstall k8s cluster with Rancher tools: k3d + k3s if you don't have DOcker for Mac or Windows:\n\n```bash\n# start docker...\nbrew reinstall k3d\nk3d create --api-port 6551 --publish 80:80 --workers 2\n# ...\nexport KUBECONFIG=\"$(k3d get-kubeconfig --name='k3s-default')\"\n# ...\nk3d stop\nk3d delete\n```\n\n## k8s dashboard\n\nInstall and configure Kubernetes Dashboard if you need:\n\n```bash\nbrew reinstall kubernetes-cli\n```\n\n1. deploy k8s dashboard in k8s in Docker for Mac:\n\n```bash\napply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml\n```\n\n2. copy token:\n\n```bash\nkubectl -n kube-system describe secrets kubernetes-dashboard-token-... | grep 'token:' | awk '{print $2}'\n```\n\n3. start proxy\n\n```bash\nkubectl proxy\n```\n\n4. open k8s dashboard and login using token from previous step:\n\n[http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/](http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/)\n\n## start develop\n\n```bash\nbrew reinstall skaffold\nskaffold dev # or skaffold run --tail\n# ...\nskaffold delete\n```\n\n## deploy in public cloud\n\nBefore deploy to public cloud, you need build and push docker images...\n\n```bash\n./mvnw clean test jib:build\n```\n\n## links\n\n* https://github.com/daggerok/spring-5-examples/blob/0a4468ac5c0544b527c00246b0c3702e53651598/reactor-processors/flux-sink/src/main/java/daggerok/FluxSinkApplication.java\n* https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html\n* https://kubernetes.github.io/ingress-nginx/examples/\n* [YouTube: Dead Easy Kubernetes Workflow (Cloud Next '19)](https://www.youtube.com/watch?v=62GLbBDLiPE)\n* [Docker k8s: part 1](https://www.docker.com/blog/designing-your-first-app-kubernetes-overview/)\n* [Docker k8s: part 2](https://www.docker.com/blog/designing-your-first-application-kubernetes-processes-part2/)\n* https://github.com/kubernetes/dashboard/issues/2954#issuecomment-385354244\n* https://www.youtube.com/watch?v=rMB1YXU8vAc\n* https://rominirani.com/tutorial-getting-started-with-kubernetes-with-docker-on-mac-7f58467203fd\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/maven-plugin/)\n* [Spring Configuration Processor](https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/reference/htmlsingle/#configuration-metadata-annotation-processor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fsurvey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fsurvey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fsurvey/lists"}