Git Product home page Git Product logo

clj-kubernetes-api's Issues

k8s/list-namespaced-nodes in README.md should be singular

Going through the README I stumbled across an error that seems to just be in the instructions

cid.core=> (<!! (k8s/list-namespaced-nodes ctx {:namespace "default"}))

CompilerException java.lang.RuntimeException: No such var: k8s/list-namespaced-nodes, compiling
(/private/var/folders/tb/xwdxg40120xg3pl0s1vv7_yh0000gn/T/form-init1202866452870163565.clj:1:6)

Looks to me like the README just needs to change list-namespaced-nodes to list-namespaced-node

Unable to connect to cluster hosted on a route53 domain

When I do :
(def ctx (k8s/make-context "https://api.x.x.x")) (<!! (k8s/list-namespaced-node ctx))
It gives me the following error:
{:success false, :error {:cause "unable to find valid certification path to requested target", :via [{:type javax.net.ssl.SSLHandshakeException, :at [sun.security.ssl.Handshaker checkThrown "Handshaker.java" 1529], :message "General SSLEngine problem"} {:type javax.net.ssl.SSLHandshakeException, :at [sun.security.ssl.Alerts getSSLException "Alerts.java" 192], :message "General SSLEngine problem"} {:type sun.security.validator.ValidatorException, :at [sun.security.validator.PKIXValidator doBuild "PKIXValidator.java" 397], :message "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"} {:type sun.security.provider.certpath.SunCertPathBuilderException, :at [sun.security.provider.certpath.SunCertPathBuilder build "SunCertPathBuilder.java" 141], :message "unable to find valid certification path to requested target"}], :trace [[sun.security.provider.certpath.SunCertPathBuilder build "SunCertPathBuilder.java" 141] [sun.security.provider.certpath.SunCertPathBuilder engineBuild "SunCertPathBuilder.java" 126] [java.security.cert.CertPathBuilder build "CertPathBuilder.java" 280] [sun.security.validator.PKIXValidator doBuild "PKIXValidator.java" 392] [sun.security.validator.PKIXValidator engineValidate "PKIXValidator.java" 302] [sun.security.validator.Validator validate "Validator.java" 260] [sun.security.ssl.X509TrustManagerImpl validate "X509TrustManagerImpl.java" 324] [sun.security.ssl.X509TrustManagerImpl checkTrusted "X509TrustManagerImpl.java" 281] [sun.security.ssl.X509TrustManagerImpl checkServerTrusted "X509TrustManagerImpl.java" 136] [sun.security.ssl.ClientHandshaker serverCertificate "ClientHandshaker.java" 1601] [sun.security.ssl.ClientHandshaker processMessage "ClientHandshaker.java" 216] [sun.security.ssl.Handshaker processLoop "Handshaker.java" 1052] [sun.security.ssl.Handshaker$1 run "Handshaker.java" 992] [sun.security.ssl.Handshaker$1 run "Handshaker.java" 989] [java.security.AccessController doPrivileged "AccessController.java" -2] [sun.security.ssl.Handshaker$DelegatedTask run "Handshaker.java" 1467] [org.httpkit.client.HttpsRequest doHandshake "HttpsRequest.java" 89] [org.httpkit.client.HttpClient doRead "HttpClient.java" 177] [org.httpkit.client.HttpClient run "HttpClient.java" 474] [java.lang.Thread run "Thread.java" 748]]}}

I am unable to connect to the cluster.

Does not work with Clojure 1.9.0

When I do (require '[kubernetes.api.v1 :as k8s]), I get the following error:

CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec: In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args :only :op :quoted-spec :spec] predicate: #{:only} In: [2 1] val: :as fails at: [:args :rename :op :quoted-spec :spec] predicate: #{:rename} In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude} In: [2] val: (quote :as) fails at: [:args :only :op :spec] predicate: #{:only} In: [2] val: (quote :as) fails at: [:args :rename :op :spec] predicate: #{:rename} #:clojure.spec.alpha{:problems ({:path [:args :exclude :op :spec], :pred #{:exclude}, :val (quote :as), :via [], :in [2]} {:path [:args :exclude :op :quoted-spec :spec], :pred #{:exclude}, :val :as, :via [], :in [2 1]} {:path [:args :only :op :spec], :pred #{:only}, :val (quote :as), :via [], :in [2]} {:path [:args :only :op :quoted-spec :spec], :pred #{:only}, :val :as, :via [], :in [2 1]} {:path [:args :rename :op :spec], :pred #{:rename}, :val (quote :as), :via [], :in [2]} {:path [:args :rename :op :quoted-spec :spec], :pred #{:rename}, :val :as, :via [], :in [2 1]}), :spec #object[clojure.spec.alpha$regex_spec_impl$reify__2436 0x29a373ec "clojure.spec.alpha$regex_spec_impl$reify__2436@29a373ec"], :value ((quote :exclude) (quote [reduce into merge map take partition partition-by]) (quote :as) (quote core)), :args ((quote :exclude) (quote [reduce into merge map take partition partition-by]) (quote :as) (quote core))}, compiling:(clojure/core/async.clj:9:1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.