Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Thomas Coudert
    @thcdrt
    It allow to exclude some logs
    Thomas Coudert
    @thcdrt
    We deployed the docker image on ovhcom/fluent-bit. We're updating the doc too.
    Thomas Coudert
    @thcdrt
    Pull request on ovh/docs is opened => ovh/docs#339
    Michał Frąckiewicz
    @SystemZ
    thanks! grep works wonderful in fluent bit
    I added something like this to the end of filter-kubernetes.conf config map:
        [FILTER]
            Name    grep
            Match   *
            Exclude kubernetes_container_name calico-node
        [FILTER]
            Name    grep
            Match   *
            Exclude kubernetes_container_name wormhole
    Thomas Coudert
    @thcdrt
    @SystemZ Glad to hear !
    bcarriou
    @bcarriou
    Hi, I'am not sure but can you confirm me if my etcd cluster is UP on my cluster ?
    I have some message on my RAncher cluster about that
    E0917 15:25:22.936453 9 leaderelection.go:286] Failed to update lock: etcdserver: request timed out
    2019/09/17 15:25:24 [ERROR] ClusterController local [cluster-stats] failed with : etcdserver: request timed out
    Philippe Vienne
    @PhilippeVienne_gitlab
    @bcarriou Same on my side since days and etcd is fine, just liveness is not replying because on another network.
    Thomas Coudert
    @thcdrt
    Hello @bcarriou , where do you see those logs ?
    bcarriou
    @bcarriou
    @PhilippeVienne_gitlab ok thanks :)
    @thcdrt It is on my Rancher cluster but it is due because etcd isn't accessible now => thx @PhilippeVienne_gitlab
    bcarriou
    @bcarriou
    Hi, I tried to upgrade version from 1.12 to 1.13 but I have the state Erreur in my OVH UI.
    Some info:
    k get nodes
    NAME       STATUS                        ROLES    AGE    VERSION
    worker-1   Ready                         <none>   202d   v1.12.10
    worker-2   Ready                         <none>   158d   v1.12.10
    worker-3   NotReady,SchedulingDisabled   <none>   92d    v1.12.10
    bcarriou
    @bcarriou
    my cluster id: 1aa61333-b08c-4ea9-abc0-82f8b39b5cb2
    SebastienJardin
    @SebastienJardin
    Hi @bcarriou I'm working on your problem, we can switch on DM if you want?
    bcarriou
    @bcarriou
    @SebastienJardin yes thx
    kobrasz
    @kobrasz

    Hi, I have problem with my Load balancer, I want to expose my oauth2 pod with k8s ovh load balancer, when I'm using

    annotations:
        service.beta.kubernetes.io/ovh-loadbalancer-proxy-protocol: "v1"
    spec:
      type: LoadBalancer
      externalTrafficPolicy: Local

    I'm getting ERR_SSL_PROTOCOL_ERROR in my browser

    Thomas Coudert
    @thcdrt
    Hello @kobrasz
    Checking with you in private
    kobrasz
    @kobrasz
    kk
    monsio
    @kaizokun
    hi everybody, is that possible to move a deployment to another namespace ?
    Guillaume
    @dracorpg
    Hi. Simply re-deploy it in your new namespace.
    (if you don't have its yaml definition file at hand, kubectl edit will handily open it in your text editor)
    monsio
    @kaizokun
    OK i use the dashboard actually and I have a error when I try to modify the namespace
    Guillaume
    @dracorpg
    I don't think you can change any fundamental attribute such as name or namespace for existing resources
    monsio
    @kaizokun
    it s for a wordpress deployment that I installed with Helm
    Guillaume
    @dracorpg
    I don't use Helm but the chart should allow you to easily specify the namespace in which resources should be created
    monsio
    @kaizokun
    ok so the only solution is to reinstall it
    Guillaume
    @dracorpg
    yeah - which should be 1 command ;)
    monsio
    @kaizokun
    ok so I'll just have to find a good way to move the datas from my old wordpress installaiton to the new one
    Guillaume
    @dracorpg
    (this is the actual spirit of devops BTW - as little is changed by hand, operations are done by deploying configuration files)
    PersistentVolumes are not namespaced, but PersistentVolumeClaims are
    I suppose the PV where SQL data is persisted was dynamically provisioned by a PVC ?
    monsio
    @kaizokun
    ok so I could just create a new pvc cool
    Guillaume
    @dracorpg
    yeah but BUT if you delete the previous one, the underlying PV (and even OpenStack Cinder volume) will be deleted with it, by default
    you first have to change the current PV's reclamation policy to "Retain" instead of "Delete"
    monsio
    @kaizokun
    ok thank you very much
    Guillaume
    @dracorpg
    then you should add a volumeName: 'your-pv-name-here' line to the PVC's spec
    so the claim will bind to this existing PV instead of dynamically provisioning a new (empty) PV as per default
    (not very elegant, this whole stuff, but it should work and avoid resorting to an dump-and-load process for your data)
    monsio
    @kaizokun
    apparently the chart create de pv et pvc automaticly
    I guess that I ll be able to target the old pv from the new pvc
    Guillaume
    @dracorpg
    you'll have to hack your spec.volumeName in the chart template
    monsio
    @kaizokun
    ok I just tried to modify the pvc config but It doesn't work :)
    Guillaume
    @dracorpg
    once the PVC is created and a new PV has been dynamically provisioned for it, I'm not suuure you can un-bind the PVC and change its definition to bind it to another pre-existing PV instead
    yeah, you'll have to do the hack in the original yml that is applied to create the PVC (for a Helm chart I guess it's somewhere in templates ?)
    monsio
    @kaizokun
    probably there is a pvc.yalm in the templates folder but it uses variables
    I don't know where the vars are declared
    it seems more tricky than I thought I'll find an easier way ^^
    Guillaume
    @dracorpg
    you don't really need to care about the variables Helm injects, just add your line in the template and it should work - but yeah, not absolutely trivial
    kobrasz
    @kobrasz
    probably you can change variables in values.yaml, you can find this file in repository of your chart, I think that you have to create pvc on your own, attach there old pv and configure values.yaml to use your pvc insted of dynamically provisioned
    arduinio
    @arduinio
    Is there any way to allow a comunication between container inside OVH kubernetes and virtual machine inside on private cloud OVH ?
    Chaya56
    @Chaya56

    Hello,
    Do we have an incident currently in managed kubernetes service ?

    alt