What is the proper way to deal with the HTTPProxyCIDR WARNING and to setup no_proxy in an environment that sits behind a proxykube-dns kubedns/dnsmasq/sidecar fails to startWhere is Flanneld configuration that Kubernetes (installed by Kubeadm) use?Kubernetes Multi Master setupKube-Flannel cant get CIDR although PodCIDR available on nodeKubernetes upgrade failed to keep Pod SubnetHow to set no_proxy in Kubernetes podsCoredns in pending state in Kubernetes clusterKubernetes api server is not starting on a single kubeadm clusterCoredns in CrashLoopBackOff (kubernetes 1.11)Pending message exposed externalApi

Can I use my OWN published papers' images in my thesis without Copyright infringment

Has the speed of light ever been measured in vacuum?

What does 〇〇〇〇 mean when combined with おじさん?

Do I need to start off my book by describing the character's "normal world"?

"sh -c" does not expand positional parameters, if I run it from "sudo --login". Is there a way around this?

How to gracefully leave a company you helped start?

Will some rockets really collapse under their own weight?

What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?

Knights and Knaves on a (Not So) Deserted Island

Why do so many people play out of turn on the last lead?

How can I enter recovery mode (for Mac OS, on an iMac) remotely?

What exactly happened to the 18 crew members who were reported as "missing" in "Q Who"?

What ways are there to share spells between characters, besides a Ring of Spell Storing?

Will Force.com stop working on salesforce Lightning?

May the tower use the runway while an emergency aircraft is inbound?

Has there ever been a truly bilingual country prior to the contemporary period?

Is the Microsoft recommendation to use C# properties applicable to game development?

What's the point of writing that I know will never be used or read?

Problem with GFCI at start of circuit with both lights and two receptacles

Are there any cons in using rounded corners for bar graphs?

What would cause a nuclear power plant to break down after 2000 years, but not sooner?

Select elements of a list by comparing it to another list

How do I pass a "list of lists" as the argument to a function of the form F[x,y]?

When does The Truman Show take place?



What is the proper way to deal with the HTTPProxyCIDR WARNING and to setup no_proxy in an environment that sits behind a proxy


kube-dns kubedns/dnsmasq/sidecar fails to startWhere is Flanneld configuration that Kubernetes (installed by Kubeadm) use?Kubernetes Multi Master setupKube-Flannel cant get CIDR although PodCIDR available on nodeKubernetes upgrade failed to keep Pod SubnetHow to set no_proxy in Kubernetes podsCoredns in pending state in Kubernetes clusterKubernetes api server is not starting on a single kubeadm clusterCoredns in CrashLoopBackOff (kubernetes 1.11)Pending message exposed externalApi






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm relatively new to k8s. I have now set up a cluster several times to ensure that I understand the process. I have struggled with networking a bit. I am currently initializing as follows:



kubeadm init --apiserver-advertise-address=10.93.98.204 --pod-network-cidr=10.244.0.0/16


In response to this I see the following warning:



[WARNING HTTPProxyCIDR]: connection to "10.96.0.0/12" uses proxy "http://proxy.corp.sensis. com:3128". This may lead to malfunctional cluster setup. Make sure that Pod and Services IP ranges specified correctly as exceptions in proxy configuration


Amongst other things, I am trying to ensure that I configure the cluster correctly, and the overlay network (flannel).



I've attempted to establish the no_proxy environment variable (centos 7).



The way that i tried this was as follows was to update /etc/profile.d/proxy.sh as follows:



printf -v lan '%s,' "10.93.98.204","10.93.98.23","10.93.98.36","10.93.103.236","10.93.97.123","10.93.97.202"
printf -v service '%s,' 10.244.1..255.1..255
export no_proxy="$lan%,,$service%,,127.0.0.1";
#export no_proxy="$lan%,,10.244.0.0/16,127.0.0.1";
export NO_PROXY=$no_proxy


However, this approach results in a massive string ($no_proxy) that far exceeds the maximum length within the Linux environment.



I've also tried using the pod-network-cidr in the no_proxy (10.244.0.0/16 - commented out in the above)



Two questions:
- What is the proper way to deal with this warning (WARNING HTTPProxyCIDR)?
- How can I set no_proxy so that my flannel network overlay works and my cluster works










share|improve this question
































    1















    I'm relatively new to k8s. I have now set up a cluster several times to ensure that I understand the process. I have struggled with networking a bit. I am currently initializing as follows:



    kubeadm init --apiserver-advertise-address=10.93.98.204 --pod-network-cidr=10.244.0.0/16


    In response to this I see the following warning:



    [WARNING HTTPProxyCIDR]: connection to "10.96.0.0/12" uses proxy "http://proxy.corp.sensis. com:3128". This may lead to malfunctional cluster setup. Make sure that Pod and Services IP ranges specified correctly as exceptions in proxy configuration


    Amongst other things, I am trying to ensure that I configure the cluster correctly, and the overlay network (flannel).



    I've attempted to establish the no_proxy environment variable (centos 7).



    The way that i tried this was as follows was to update /etc/profile.d/proxy.sh as follows:



    printf -v lan '%s,' "10.93.98.204","10.93.98.23","10.93.98.36","10.93.103.236","10.93.97.123","10.93.97.202"
    printf -v service '%s,' 10.244.1..255.1..255
    export no_proxy="$lan%,,$service%,,127.0.0.1";
    #export no_proxy="$lan%,,10.244.0.0/16,127.0.0.1";
    export NO_PROXY=$no_proxy


    However, this approach results in a massive string ($no_proxy) that far exceeds the maximum length within the Linux environment.



    I've also tried using the pod-network-cidr in the no_proxy (10.244.0.0/16 - commented out in the above)



    Two questions:
    - What is the proper way to deal with this warning (WARNING HTTPProxyCIDR)?
    - How can I set no_proxy so that my flannel network overlay works and my cluster works










    share|improve this question




























      1












      1








      1


      1






      I'm relatively new to k8s. I have now set up a cluster several times to ensure that I understand the process. I have struggled with networking a bit. I am currently initializing as follows:



      kubeadm init --apiserver-advertise-address=10.93.98.204 --pod-network-cidr=10.244.0.0/16


      In response to this I see the following warning:



      [WARNING HTTPProxyCIDR]: connection to "10.96.0.0/12" uses proxy "http://proxy.corp.sensis. com:3128". This may lead to malfunctional cluster setup. Make sure that Pod and Services IP ranges specified correctly as exceptions in proxy configuration


      Amongst other things, I am trying to ensure that I configure the cluster correctly, and the overlay network (flannel).



      I've attempted to establish the no_proxy environment variable (centos 7).



      The way that i tried this was as follows was to update /etc/profile.d/proxy.sh as follows:



      printf -v lan '%s,' "10.93.98.204","10.93.98.23","10.93.98.36","10.93.103.236","10.93.97.123","10.93.97.202"
      printf -v service '%s,' 10.244.1..255.1..255
      export no_proxy="$lan%,,$service%,,127.0.0.1";
      #export no_proxy="$lan%,,10.244.0.0/16,127.0.0.1";
      export NO_PROXY=$no_proxy


      However, this approach results in a massive string ($no_proxy) that far exceeds the maximum length within the Linux environment.



      I've also tried using the pod-network-cidr in the no_proxy (10.244.0.0/16 - commented out in the above)



      Two questions:
      - What is the proper way to deal with this warning (WARNING HTTPProxyCIDR)?
      - How can I set no_proxy so that my flannel network overlay works and my cluster works










      share|improve this question
















      I'm relatively new to k8s. I have now set up a cluster several times to ensure that I understand the process. I have struggled with networking a bit. I am currently initializing as follows:



      kubeadm init --apiserver-advertise-address=10.93.98.204 --pod-network-cidr=10.244.0.0/16


      In response to this I see the following warning:



      [WARNING HTTPProxyCIDR]: connection to "10.96.0.0/12" uses proxy "http://proxy.corp.sensis. com:3128". This may lead to malfunctional cluster setup. Make sure that Pod and Services IP ranges specified correctly as exceptions in proxy configuration


      Amongst other things, I am trying to ensure that I configure the cluster correctly, and the overlay network (flannel).



      I've attempted to establish the no_proxy environment variable (centos 7).



      The way that i tried this was as follows was to update /etc/profile.d/proxy.sh as follows:



      printf -v lan '%s,' "10.93.98.204","10.93.98.23","10.93.98.36","10.93.103.236","10.93.97.123","10.93.97.202"
      printf -v service '%s,' 10.244.1..255.1..255
      export no_proxy="$lan%,,$service%,,127.0.0.1";
      #export no_proxy="$lan%,,10.244.0.0/16,127.0.0.1";
      export NO_PROXY=$no_proxy


      However, this approach results in a massive string ($no_proxy) that far exceeds the maximum length within the Linux environment.



      I've also tried using the pod-network-cidr in the no_proxy (10.244.0.0/16 - commented out in the above)



      Two questions:
      - What is the proper way to deal with this warning (WARNING HTTPProxyCIDR)?
      - How can I set no_proxy so that my flannel network overlay works and my cluster works







      kubernetes kubeadm






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 9 at 23:31









      Rico

      32.6k10 gold badges56 silver badges77 bronze badges




      32.6k10 gold badges56 silver badges77 bronze badges










      asked Mar 27 at 12:28









      Dave SargradDave Sargrad

      131 silver badge7 bronze badges




      131 silver badge7 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          1














          The no_proxy/NO_PROXY environment variables should be the way to go. However, you don't need to add every single IP to the string you can just add the whole subnet. Also, looks like you are missing 10.96.0.0/12 from the list.



          For example (assuming 10.93.98.0/24 is your LAN subnet):



          export no_proxy="10.96.0.0/12,10.93.98.0/24,10.244.0.0/16,127.0.0.1"


          Also, make sure Docker noProxy is configured if you are using Docker.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377228%2fwhat-is-the-proper-way-to-deal-with-the-httpproxycidr-warning-and-to-setup-no-pr%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            The no_proxy/NO_PROXY environment variables should be the way to go. However, you don't need to add every single IP to the string you can just add the whole subnet. Also, looks like you are missing 10.96.0.0/12 from the list.



            For example (assuming 10.93.98.0/24 is your LAN subnet):



            export no_proxy="10.96.0.0/12,10.93.98.0/24,10.244.0.0/16,127.0.0.1"


            Also, make sure Docker noProxy is configured if you are using Docker.






            share|improve this answer





























              1














              The no_proxy/NO_PROXY environment variables should be the way to go. However, you don't need to add every single IP to the string you can just add the whole subnet. Also, looks like you are missing 10.96.0.0/12 from the list.



              For example (assuming 10.93.98.0/24 is your LAN subnet):



              export no_proxy="10.96.0.0/12,10.93.98.0/24,10.244.0.0/16,127.0.0.1"


              Also, make sure Docker noProxy is configured if you are using Docker.






              share|improve this answer



























                1












                1








                1







                The no_proxy/NO_PROXY environment variables should be the way to go. However, you don't need to add every single IP to the string you can just add the whole subnet. Also, looks like you are missing 10.96.0.0/12 from the list.



                For example (assuming 10.93.98.0/24 is your LAN subnet):



                export no_proxy="10.96.0.0/12,10.93.98.0/24,10.244.0.0/16,127.0.0.1"


                Also, make sure Docker noProxy is configured if you are using Docker.






                share|improve this answer













                The no_proxy/NO_PROXY environment variables should be the way to go. However, you don't need to add every single IP to the string you can just add the whole subnet. Also, looks like you are missing 10.96.0.0/12 from the list.



                For example (assuming 10.93.98.0/24 is your LAN subnet):



                export no_proxy="10.96.0.0/12,10.93.98.0/24,10.244.0.0/16,127.0.0.1"


                Also, make sure Docker noProxy is configured if you are using Docker.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 10 at 0:43









                RicoRico

                32.6k10 gold badges56 silver badges77 bronze badges




                32.6k10 gold badges56 silver badges77 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377228%2fwhat-is-the-proper-way-to-deal-with-the-httpproxycidr-warning-and-to-setup-no-pr%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현