Skip to content

Instantly share code, notes, and snippets.

@thenayr
Created November 18, 2016 00:17
Show Gist options
  • Save thenayr/d0a8815cbdb70079e929368894dced41 to your computer and use it in GitHub Desktop.
Save thenayr/d0a8815cbdb70079e929368894dced41 to your computer and use it in GitHub Desktop.
The Node JS code to delete a pod
socket.on('k8sDestroyPod', function(data) {
k8.ns.po.delete(data.name, (err) => {
if(err) {
err;
}
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment