title: How to create a Job and a secret from Kubernetes Javascript Client
body: <p>I am trying to work my way into the <a href="https://github.com/kubernetes-client/javascript" rel="nofollow noreferrer">kubernetes javascript client</a>.</p>
  <p>My goal is to create a Job and a secret from inside the cluster.</p>
  <p>The <a href="https://github.com/kubernetes-client/javascript" rel="nofollow noreferrer">kubernetes javascript client</a> provide examples on how to create a <a href="https://github.com/kubernetes-client/javascript/blob/master/examples/in-cluster.js" rel="nofollow noreferrer">in-cluster config</a> and make simples API calls , but the generated documentation is no big help if you want to interact with other kubernetes objects (Jobs and Secret in my case)...</p>
  <p>The documentation reference all the classes , but that's all.</p>
  <p>So , do you have already worked with the Kubernetes javascript client ? Is there a more precise documentation or more examples ? (I wasn't succesful in my reshearsh)</p>
  <p>Or , do you know how to create Jobs/Secret from the Client?</p>
  <p>I Won't post my code here , because I only made the in-cluster config , it's only a copy from the repo example.</p>
  <p>Thanks a Lot in advance! :)</p>