Re: scaleTargetRef for autoscaling

2020-06-26 Thread Just Marvin
Joel,

 That clears it up.

Thanks,
Marvin

On Thu, Jun 25, 2020 at 2:56 AM Joel Pearson 
wrote:

> Hi Marvin,
>
> I presume you are using a deployment config?
>
> If so, doesn't a deployment config create a new replication controller
> every time you do a deploy?
>
> Which means you'd lose your scaling every deploy, so I think if you are
> using deployment configs, then you'd want to reference those, rather than
> the replication controllers that it automatically creates for you.
>
> Cheers,
>
> Joel
>
> On Wed, 17 Jun 2020 at 20:42, Just Marvin <
> marvin.the.cynical.ro...@gmail.com> wrote:
>
>> Hi,
>>
>> The docs say that the scaleTargetRef can point to either the
>> deployment config or the replication controller. Is there a difference in
>> autoscaling behavior if I pick one over the other?
>>
>> Regards,
>> Marvin
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: scaleTargetRef for autoscaling

2020-06-25 Thread Joel Pearson
Hi Marvin,

I presume you are using a deployment config?

If so, doesn't a deployment config create a new replication controller
every time you do a deploy?

Which means you'd lose your scaling every deploy, so I think if you are
using deployment configs, then you'd want to reference those, rather than
the replication controllers that it automatically creates for you.

Cheers,

Joel

On Wed, 17 Jun 2020 at 20:42, Just Marvin <
marvin.the.cynical.ro...@gmail.com> wrote:

> Hi,
>
> The docs say that the scaleTargetRef can point to either the
> deployment config or the replication controller. Is there a difference in
> autoscaling behavior if I pick one over the other?
>
> Regards,
> Marvin
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users