Comments (5)
@Nishanksingla Could you please explain in details about the problem you are facing actually?
from app-autoscaler-release.
I am facing multiple problems.
1.) I don't know what to put in the below parameters.
consumes:
nats: {from: nats, deployment: cf}
I have reviewed the new manifest file format of Cloud Foundry (https://github.com/cloudfoundry/cf-deployment/blob/master/cf-deployment.yml). According to that our CF deployment does not has this.
provides:
nats: {as: nats, shared: true}
I tried few things. Below is the one
consumes:
nats: nil
and I got this errorError filling in template 'registrar_settings.yml.erb'
2.) Same problem with this
consumes:
consul_common: {from: consul_common_link, deployment: cf}
consul_server: nil
consul_client: {from: consul_client_link, deployment: cf}
No idea what to put. Again in our CF manifest these fields are nil
.
Is there a guideline that shows what changes do I have to make to run app-autoscaler in our cloud foundry environment?
When I removed both of these route_registrar
and consul_agent
jobs, I am not able to deploy it and I keep getting not enough IP available to reserve in manual network
when clearly I have more than 100 IPs available.
from app-autoscaler-release.
@Nishanksingla
As your Cloud Foundry does not share its nats and consul configuration, you could get the configuration from manually and add them to the app-autoscale deployment yaml.
For "consul agent" job, the configurations should be as below, the fields with ((grab *)) should be got from your CF deployment.
jobs:
- name: consul_agent
release: (( grab cfreleasename ))
consumes: {consul_client: nil, consul_server: nil, consul_common: nil}
properties:
consul:
agent:
mode: client
domain: cf.internal
services:
postgres:
check:
tcp: 127.0.0.1:5432
interval: 30s
timeout: 10s
servers:
lan: (( grab config_from_cf_template.consul.lan_servers ))
ca_cert: (( grab config_from_cf_template.consul.ca_cert ))
agent_cert: (( grab config_from_cf_template.consul.agent_cert ))
agent_key: (( grab config_from_cf_template.consul.agent_key ))
server_cert: (( grab config_from_cf_template.consul.server_cert ))
server_key: (( grab config_from_cf_template.consul.server_key ))
encrypt_keys: (( grab config_from_cf_template.consul.encrypt_keys ))
And for job "route_registrar":
- name: route_registrar
release: routing
consumes:
nats:
instances:
- address: (( grab config_from_cf_template.nats.address ))
properties:
nats:
port: (( grab config_from_cf_template.nats.port ))
user: (( grab config_from_cf_template.nats.user))
password: (( grab config_from_cf_template.nats.password ))
properties:
route_registrar:
routes:
- name: api_server_public_api
registration_interval: 20s
port: *apiServerPublicPort
tags:
component: api_server
uris:
- (( concat "autoscaler." config_from_cf_template.cf.domain ))
from app-autoscaler-release.
Thank you for the reply. I appreciate it. :)
Can you please send these configurations with proper indentation?
Thanks
Nishank
from app-autoscaler-release.
@Nishanksingla You can refer the file below:
https://github.com/qibobo/app-autoscaler-release/blob/dev_qy_template/templates/app-autoscaler-deployment-no-share.yml
from app-autoscaler-release.
Related Issues (20)
- Flakey test ws_helper_test.go:179 is too flakey HOT 1
- Tls certificates are incorrecly incorporated causing services to not start. HOT 2
- Serial variable in template should be removed HOT 1
- Missing scale due to possible miscalculation of metrics HOT 1
- Some tests failing after upgrading to 9.0.1 HOT 33
- TLS Version 1.0 / 1.1 Protocol Detection and Cipher vulnerable to SWEET32 attack HOT 2
- Dependency Dashboard HOT 1
- If there is a problem updating or creating a policy it never gets propagated to the user
- Make doesn't fail on error
- 500 Internal Server Error is returned when user is not authorized HOT 1
- Issue when upgrading to v10.0.0 HOT 3
- Problems using external-db.yml with https://github.com/cloudfoundry/app-autoscaler-release/blob/main/templates/app-autoscaler.yml HOT 4
- Issue with old xenial stemcell in app-autoscaler-deployment.yml template file HOT 1
- Acceptance tests started to fail with 10.0.3 HOT 8
- logcache referenced but not provided as alias HOT 3
- Feature request: How to auto scale worker processes rather than web HOT 1
- Build release fails after submodules update to 11.2.1 HOT 5
- Acceptance test failure "When scaling by memoryused it should scale out ..."
- Autoscaler and Dynatrace metrics differ HOT 1
- Update "github.com/golang/protobuf/proto" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-autoscaler-release.