Created
November 18, 2016 00:17
-
-
Save thenayr/d0a8815cbdb70079e929368894dced41 to your computer and use it in GitHub Desktop.
The Node JS code to delete a pod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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