How do you export an existing Kubernetes Deployment into a YAML or XML file?

Typically you import YAML files to create objects such as Deployments into a Kubernetes cluster. You can also list those objects using kubectl commands. But how can you export the details of a deployment (or other k8s objects) into a YAML or XML file? This would help with creating templates from existing objects, and also … Read more

Linux : Send a tcp message to a url/endpoint [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Windows 7 (32-bit) Sysprep not running Unattend.XML but no error in logs

I am trying to Sysprep a Windows image that will run on identical hardware. The issue I’m facing is that the Unattend.XML file is somehow not running whatsoever, but the logs itself do not say anything about the Unattend.XML file having an error but there is still no Sysprep_succeeded.tag file in C:\Windows\System32\sysprep after reboot, even … Read more

JBoss AS: use .xml files in the properties-service.xml

The properties service (configured in properties-service.xml) in JBoss application server lets you specify external .properties files that are loaded and can then be accessed as system properties from the deployed applications. (See here http://community.jboss.org/wiki/PropertiesService for more info…) Is it also possible to load config files in the .xml format instead of .properties? I know it … Read more

ejabberd 14.12 xml rpc enable

I’ve got problem with my new ejabberd installation. I need to enable mod xml_rpc, so what I do: I’m uncomment this in my ejabberd.yml file: ## To handle XML-RPC requests that provide admin credentials: ## ## – ## port: 4560 ## module: ejabberd_xmlrpc So it’s look now like this ## To handle XML-RPC requests that … Read more

Easiest way to query XML files?

Scenario: I’m on an AIX machine – actually, over a dozen. I have an application that outputs information to XML files, unfortunately without linebreaks. I have a need to run scripts that can make queries on those files. It’s mostly simple : If they were normal log files, grep and cut would do me just … Read more

problem with .Net xml importnode in powershell

Im trying to construct a powershell script that uses some XML. I have a XML document where I try to add some values with email addresses. The finished xml document should have this format: (I’m only showing the relevant part of the xml here) <emailAddresses> <value>bob@bob.com</value> <value>kenny@bob.com</value> <value>roger@bob.com</value> </emailAddresses> SO, in powershell I try to … Read more

WGET Localhost 0 bytes

Hi I am trying to execute wget locally using cron, I have been told by my hosting that due to a local loopback that this won’t work? I am attempting the following command: wget -q -O /pathtofile/blah.xml “http://myurl/myfeed.php?id=26” What I am trying to do here is take the output (rss) and save this on my … Read more

Details about ping google – xml format, best practices etc

Just found http://blogsearch.google.com/ping and I can’t find any information about the xml file format. Is there better way to ping the google bot and can you share sample xml code to show me the exact format that must be send? Thanks. Answer I am not certain which xml format you are asking for, but if … Read more