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

Add support for PCF App Autoscaler CLI Plugin #110

Open
niharbabu99 opened this issue Jul 13, 2023 · 5 comments
Open

Add support for PCF App Autoscaler CLI Plugin #110

niharbabu99 opened this issue Jul 13, 2023 · 5 comments

Comments

@niharbabu99
Copy link

niharbabu99 commented Jul 13, 2023

Having the auto scaler plugin and its commands added to cf-cli resource will be helpful to create autoscale rules for PCF apps.

Currently, we are adding autoscale rules for our micro-services that are deployed in PCF using the auto-scale feature described here.

Currently, we are using tasks to accomplish this by having a plugin installed in our image. If it can be integrated with cf-cli resource it would be easy to use.

@niharbabu99 niharbabu99 changed the title Feature Request: Can we get https://network.pivotal.io/products/pcf-app-autoscaler plugin added to the cf-cli-resource Feature Request: Making autoscaler plugin commands added to the cf-cli-resource Jul 13, 2023
@jpsmoura
Copy link

Other forks achieved what @niharbabu99 is requesting https://github.com/EngineerBetter/cf-cli-resource. It would be great if there was a distribution with some of the most used plugins.

@patrickcrocker
Copy link
Member

Having the auto scaler plugin and its commands added to cf-cli resource will be helpful to create autoscale rules for PCF apps.

This has been requested before (#67) but, unfortunately, I can't legally package the Pivotal App Autoscaler CLI Plugin in the cf-cli-resource project. In order to install that plugin, you have to have a VMware Tanzu Network account and agree to the EULA.

image

And of course the EULA is filled with lots of restrictions:

1.3. Restrictions. Customer may use the Offerings only for its internal use and for the 
benefit of its Affiliates. Affiliates may not use the Offerings. Customer may not resell 
or sublicense its rights to the Offerings. Customer may not use the Offerings in an 
application service provider, service bureau, hosted IT service, or similar capacity for 
third parties.

...

1.5. Evaluations.Evaluations are for 30 days (unless VMware specifies otherwise in 
writing). Customer may not have access to data in the Evaluation after it ends. 
Evaluations are provided “AS IS” without indemnification, support, service level 
commitment, or warranty of any kind, express or implied.

Given the restrictions with the VMware EULA, the only way I think I can legally add this functionality is to work in a "bring your own cf cli plugin" framework where your pipeline could supply the plugin to the cf-cli-resource so that it can install the plugin at runtime.

Open to ideas on this one...

@patrickcrocker patrickcrocker changed the title Feature Request: Making autoscaler plugin commands added to the cf-cli-resource Add support for PCF App Autoscaler CLI Plugin Jul 13, 2023
@niharbabu99
Copy link
Author

Having the auto scaler plugin and its commands added to cf-cli resource will be helpful to create autoscale rules for PCF apps.

This has been requested before (#67) but, unfortunately, I can't legally package the Pivotal App Autoscaler CLI Plugin in the cf-cli-resource project. In order to install that plugin, you have to have a VMware Tanzu Network account and agree to the EULA.

image

And of course the EULA is filled with lots of restrictions:

1.3. Restrictions. Customer may use the Offerings only for its internal use and for the 
benefit of its Affiliates. Affiliates may not use the Offerings. Customer may not resell 
or sublicense its rights to the Offerings. Customer may not use the Offerings in an 
application service provider, service bureau, hosted IT service, or similar capacity for 
third parties.

...

1.5. Evaluations.Evaluations are for 30 days (unless VMware specifies otherwise in 
writing). Customer may not have access to data in the Evaluation after it ends. 
Evaluations are provided “AS IS” without indemnification, support, service level 
commitment, or warranty of any kind, express or implied.

Given the restrictions with the VMware EULA, the only way I think I can legally add this functionality is to work in a "bring your own cf cli plugin" framework where your pipeline could supply the plugin to the cf-cli-resource so that it can install the plugin at runtime.

Open to ideas on this one...

I think "bring your own cf cli plugin" is great idea and it helps many users who uses this resource. If it can be achieved, it would be very great.

@patrickcrocker
Copy link
Member

I think "bring your own cf cli plugin" is great idea and it helps many users who uses this resource. If it can be achieved, it would be very great.

I'll explore implementing something like this with the Pivotal App Autoscaler CLI Plugin as a reference use-case. I will need help testing this as I do not have a PCF environment to test against. Is this something you can help me test when the time is right?

@niharbabu99
Copy link
Author

I think "bring your own cf cli plugin" is great idea and it helps many users who uses this resource. If it can be achieved, it would be very great.

I'll explore implementing something like this with the Pivotal App Autoscaler CLI Plugin as a reference use-case. I will need help testing this as I do not have a PCF environment to test against. Is this something you can help me test when the time is right?

@patrickcrocker sure I can help with testing when the feature is ready. Please tag me when needed so that I can plan and take some time to validate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants