func PodCreate(d *schema.ResourceData, meta interface{}) error {
	log.Printf("[DEBUG] PodCreate")

	kubeClient := meta.(*config.KubeProviderClient)

	pod := build.Pod(d, kubeClient.Version)

	kubePods := kubeClient.KubeClient.Pods(kubeClient.Namespace)
	podCreate, errCreate := kubePods.Create(pod)

	if errCreate != nil {
		return errCreate
	}

	d.SetId(podCreate.ObjectMeta.Name)
	return PodRead(d, meta)
}
func PodUpdate(d *schema.ResourceData, meta interface{}) error {
	log.Printf("[DEBUG] PodUpdate")

	kubeClient := meta.(*config.KubeProviderClient)

	pod := build.Pod(d, kubeClient.Version)

	kubePods := kubeClient.KubeClient.Pods(kubeClient.Namespace)
	// This might have to be killed and recreated.
	updatedPod, updateErr := kubePods.Update(pod)

	if updateErr != nil {
		return updateErr
	}

	d.SetId(updatedPod.ObjectMeta.Name)
	return PodRead(d, meta)
}