Re: [kubernetes-users] What is the best way to deploy the Redis cluster

2017-07-20 Thread Guang Ya Liu
Thanks Rodrigo! But even with deployment, I can still have volume mounts in the deployment to mount to external storage, so even using deployment, I can still have persistency, right? For statefulset, I can use volumeClaimTemplates to mount PVCs to have persistency, but how an it make upgrade

Re: [kubernetes-users] What is the best way to deploy the Redis cluster

2017-07-21 Thread Guang Ya Liu
+ Kubernetes dev, hope can get more comments/suggestions here. Thanks, Guangya On Fri, Jul 21, 2017 at 8:42 AM, Guang Ya Liu <gyliu...@gmail.com> wrote: > Thanks Rodrigo! > > But even with deployment, I can still have volume mounts in the deployment > to mount to externa

Re: [kubernetes-users] Applying resource limit after pod startsup

2017-07-03 Thread Guang Ya Liu
You can use `kubectl edit ` to update, but this will cause the pod restart. On Tue, Jul 4, 2017 at 7:14 AM, wrote: > Hi all > > We have a situation where our pods need a load of cpu on startup only and > it seems that the limits for CPU that we have specified in our deployment

Re: [kubernetes-users] How to use PodSecurityPolicy

2017-07-07 Thread Guang Ya Liu
How did you set up your cluster and what is the parameter for apiserver, kubelet? One suggestion is that you can first test with `local-up-cluster.sh` and check what parameters are needed for those two services and compare with your env to see what are losing. I did some test days ago and it

Re: [kubernetes-users] Weighted load balancing to service/pods

2017-08-06 Thread Guang Ya Liu
I think the istio can help you for such case, checkout here https://istio.io/docs/concepts/traffic-management/request-routing.html for detail, hope this helps! On Sat, Aug 5, 2017 at 9:36 PM, 'Tim Hockin' via Kubernetes user discussion and Q