Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature. add interface project-namespace-k8s-resources #245

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

ktkfree
Copy link
Contributor

@ktkfree ktkfree commented Feb 26, 2024

client interface 연동을 위해 handler layer 를 미리 구현하여 deploy 합니다.
buz 로직은 추후 개발합니다.

@ktkfree ktkfree requested review from seungkyua and cho4036 February 26, 2024 05:11
@ktkfree
Copy link
Contributor Author

ktkfree commented Feb 26, 2024

@Siyeop 님.

아래 API 로 클라이언트 연동하시기 바랍니다.

[GET] {{URL}}/api/1.0/organizations/{{ORGANIZATION_ID}}/projects/{{PROJECT_ID}}/namespaces/{{PROJECT_NAMESPACE}}/stacks/{{STACK_ID}}/k8s-resources

response example

{
    "k8sResources": {
        "pods": 1,
        "deployments": 2,
        "statefulsets": 3,
        "demonsets": 4,
        "jobs": 5,
        "cronjobs": 6,
        "pvcs": 7,
        "services": 8,
        "ingresses": 9
    }
}

@ktkfree ktkfree merged commit ec7eca1 into develop Feb 26, 2024
5 checks passed
@ktkfree ktkfree deleted the project_k8s_info branch February 26, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants