-
Notifications
You must be signed in to change notification settings - Fork 0
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: autoScalerController implementation #1
Conversation
Updates
|
Signed-off-by: prateek041 <prateeksingh9741@gmail.com> feat: added the new design documents and updated diagram Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
dbd5a7c
to
d78315b
Compare
Also I am replacing this PR #301 in ksctl/ksctl to a new PR so that we can use the ksctl branch instead of folk |
also do add a note or warning that we should not use a api key of user instead a restricted apikey just for security reasons |
Question ❓Should we make the ksctl agent to do k8s client call to fetch the configmap or we can tell the controller 2 for geting the data from the configmap and create a grpc call to the ksctl agent But I am worrying about that controller has to wait for the response of the ksctl agent when using the second method and if we are having the agent to use configmap then whenever it completes it can update the info what do you say about that |
currently I have implemented this method of operation for ksctl agent Note by this controller 2 only has to tell the ksctl agent what is the desired workernodes and it will attach and write that back to the state.json configmap |
the first option is more reliable as the agent is doing all the work, ksctl agent can autonomously manage its own configuration data! |
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
# Tasks description This hosts as a parent pr for: - #325 - #327 It also added implementation for | Kind | Group | Version | |--------|--------|--------| | importStates | storage.ksctl.com | v1alpha1 | | stacks | application.ksctl.com | v1alpha1 | Ksctl agent for the handle of requests from various controllers Using this you can achieve the application creation, deletion, version changes seemlessly with only the use of crd (currently single app support) Improved the Makefile and the testing of the core via the adding solution for #316 ## Issues ### Completed Issue(s) ### Related Issue(s) - #251 - #304 (base-feature) - Closes #316 # Solution ### Sub-Tasks - [x] Ksctl agent planning - [x] Document all the things in ksctl/enhancements#1 - [x] ksctl grpc proto file - [x] Ksctl storage export - [x] Ksctl storage import - [x] Test cases - [x] controller for the storage export to the newly/already created ksctl or non-ksctl(Currently not supported) cluster - [x] controller for the application - [x] creation - [x] deletion - [x] store the application information in stateDocuemnt - [x] updating the version based on current state of the crd - [x] improve the logging for the kind and helm client - [x] Add support for the incluster kubernetes environment (kube go client, helm, storageDriver) # Note to reviewers > [!CAUTION] > make sure you are fixing the URL for the controllers present to more appropriate url. Make sure it is stable and not just main branch - [x] Ran Tests locally - [x] Checked [Contribution's guidelines](https://docs.ksctl.com/docs/contribution-guidelines/)
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
Thanks everyone @Horiodino @prateek041 I am merging this PR |
Tasks description
This PR will add all the design decisions here
and all the implementations related to it will be done on
ksctl/ksctl/main/ksctl-components
folderIssues
Related Issue(s)
Solution
Sub-Tasks
Note to reviewers